summaryrefslogtreecommitdiff
path: root/test/const2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/const2.go')
-rw-r--r--test/const2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/const2.go b/test/const2.go
index 97d3d4c7d..048d0cb9f 100644
--- a/test/const2.go
+++ b/test/const2.go
@@ -16,6 +16,6 @@ const (
const LargeA = 1000000000000000000
const LargeB = LargeA * LargeA * LargeA
-const LargeC = LargeB * LargeB * LargeB // ERROR "constant multiplication overflow"
+const LargeC = LargeB * LargeB * LargeB // GC_ERROR "constant multiplication overflow"
-const AlsoLargeA = LargeA << 400 << 400 >> 400 >> 400 // ERROR "constant shift overflow"
+const AlsoLargeA = LargeA << 400 << 400 >> 400 >> 400 // GC_ERROR "constant shift overflow"