summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug432.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-03-30 08:42:21 -0700
committerIan Lance Taylor <iant@golang.org>2012-03-30 08:42:21 -0700
commit71dc56dbff5b5c418202788f2b03e919eeaee621 (patch)
tree86f4aebf8673cee9f17a83017a1c02112f7b57b8 /test/fixedbugs/bug432.go
parentafb4f6ae01177010af6008200f09017a660f62a8 (diff)
downloadgo-71dc56dbff5b5c418202788f2b03e919eeaee621.tar.gz
test: add some tests of valid code that failed with gccgo
R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5971044
Diffstat (limited to 'test/fixedbugs/bug432.go')
-rw-r--r--test/fixedbugs/bug432.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/fixedbugs/bug432.go b/test/fixedbugs/bug432.go
new file mode 100644
index 000000000..0c1a91461
--- /dev/null
+++ b/test/fixedbugs/bug432.go
@@ -0,0 +1,13 @@
+// compile
+
+// Copyright 2012 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.
+
+// gccgo crashed compiling this.
+
+package p
+
+var v struct{ I }
+
+type I interface{}