summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug297.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug297.go')
-rw-r--r--test/fixedbugs/bug297.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug297.go b/test/fixedbugs/bug297.go
index b5dfa8d87..ee2ff9243 100644
--- a/test/fixedbugs/bug297.go
+++ b/test/fixedbugs/bug297.go
@@ -11,5 +11,5 @@ package main
type ByteSize float64
const (
_ = iota; // ignore first value by assigning to blank identifier
- KB ByteSize = 1<<(10*X) // ERROR "undefined" "as type ByteSize"
+ KB ByteSize = 1<<(10*X) // ERROR "undefined" "is not a constant|as type ByteSize"
)