aboutsummaryrefslogtreecommitdiff
path: root/test/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'test/syntax')
-rw-r--r--test/syntax/semi6.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/syntax/semi6.go b/test/syntax/semi6.go
index 325cc27425..4a04f89ddb 100644
--- a/test/syntax/semi6.go
+++ b/test/syntax/semi6.go
@@ -6,6 +6,6 @@
package main
-type T // ERROR "unexpected semicolon or newline in type declaration"
-// line below uncommented to avoid follow-up error
-// { \ No newline at end of file
+type T1 // ERROR "unexpected newline in type declaration"
+
+type T2 /* // ERROR "unexpected EOF in type declaration" */ \ No newline at end of file