summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue4610.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue4610.go')
-rw-r--r--test/fixedbugs/issue4610.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue4610.go b/test/fixedbugs/issue4610.go
index bc6bfe790..d56c6d3e8 100644
--- a/test/fixedbugs/issue4610.go
+++ b/test/fixedbugs/issue4610.go
@@ -12,6 +12,6 @@ type bar struct {
func main() {
var foo bar
- _ = &foo{} // ERROR "is not a type"
-}
+ _ = &foo{} // ERROR "is not a type|expected .;."
+} // GCCGO_ERROR "expected declaration"