summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Manghane <cmang@golang.org>2014-10-13 12:33:45 -0700
committerChris Manghane <cmang@golang.org>2014-10-13 12:33:45 -0700
commit99f7d48a8fee437940b6456da34187fb4f46a3b9 (patch)
tree3809240534e363dbbe835e719eadc885a52a051d /test
parent0ab0939235f5b470e4031153b95cfabdcd4055eb (diff)
downloadgo-99f7d48a8fee437940b6456da34187fb4f46a3b9.tar.gz
test: add test for gccgo-specific issue 8079
LGTM=gri R=gri CC=golang-codereviews, iant https://codereview.appspot.com/159850044
Diffstat (limited to 'test')
-rw-r--r--test/fixedbugs/issue8079.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixedbugs/issue8079.go b/test/fixedbugs/issue8079.go
new file mode 100644
index 000000000..994999bf6
--- /dev/null
+++ b/test/fixedbugs/issue8079.go
@@ -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{}