summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug090.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-03 11:58:52 -0700
committerRuss Cox <rsc@golang.org>2009-08-03 11:58:52 -0700
commit7d972b8ae744caddba5c8ef163b95b612b8f643d (patch)
tree0802e78710de882ee76b248ff780b4385b36c1a5 /test/fixedbugs/bug090.go
parent4c103008001b549fbc78824f40f4636a4fa53b33 (diff)
downloadgo-7d972b8ae744caddba5c8ef163b95b612b8f643d.tar.gz
more 6g reorg; checkpoint.
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
Diffstat (limited to 'test/fixedbugs/bug090.go')
-rw-r--r--test/fixedbugs/bug090.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug090.go b/test/fixedbugs/bug090.go
index 50e08b7f5..8318ab9c0 100644
--- a/test/fixedbugs/bug090.go
+++ b/test/fixedbugs/bug090.go
@@ -38,9 +38,9 @@ func main() {
assert(i != f3div2, "i != f3div2"); // ERROR "truncate"
const g float64 = 1.0;
- i = g; // ERROR "convert|incompatible"
+ i = g; // ERROR "convert|incompatible|cannot"
const h float64 = 3.14;
- i = h; // ERROR "convert|incompatible"
+ i = h; // ERROR "convert|incompatible|cannot"
i = int(h); // ERROR "truncate"
}