]> Cypherpunks repositories - gostls13.git/commitdiff
test: add test for gccgo-specific issue 8079
authorChris Manghane <cmang@golang.org>
Mon, 13 Oct 2014 19:33:45 +0000 (12:33 -0700)
committerChris Manghane <cmang@golang.org>
Mon, 13 Oct 2014 19:33:45 +0000 (12:33 -0700)
LGTM=gri
R=gri
CC=golang-codereviews, iant
https://golang.org/cl/159850044

test/fixedbugs/issue8079.go [new file with mode: 0644]

diff --git a/test/fixedbugs/issue8079.go b/test/fixedbugs/issue8079.go
new file mode 100644 (file)
index 0000000..994999b
--- /dev/null
@@ -0,0 +1,11 @@
+// compile
+
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Issue 8079: gccgo crashes when compiling interface with blank type name.
+
+package p
+
+type _ interface{}