summaryrefslogtreecommitdiff
path: root/test/const2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/const2.go')
-rw-r--r--test/const2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/const2.go b/test/const2.go
index 2ff71ee23..bea1b9912 100644
--- a/test/const2.go
+++ b/test/const2.go
@@ -7,6 +7,6 @@
package main
const (
- A int = 1;
+ A int = 1
B byte; // ERROR "type without expr|expected .=."
)