summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/const1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/const1.go b/test/const1.go
index 622b837a5..78fb1f4e2 100644
--- a/test/const1.go
+++ b/test/const1.go
@@ -74,6 +74,6 @@ func main() {
f(ConstFloat); // ERROR "truncate"
f(ConstFloat - 0.5); // OK
f(Big); // ERROR "convert|wrong type|cannot"
- f(String); // ERROR "convert|wrong type|cannot"
- f(Bool); // ERROR "convert|wrong type|cannot"
+ f(String); // ERROR "convert|wrong type|cannot|incompatible"
+ f(Bool); // ERROR "convert|wrong type|cannot|incompatible"
}