diff options
author | Russ Cox <rsc@golang.org> | 2008-11-17 13:58:45 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-11-17 13:58:45 -0800 |
commit | 17fafe8e9ddc638f892e594033058df50506a19d (patch) | |
tree | a42f540201ae9ea978786ad92eaa17f107dd823f /test/convlit.go | |
parent | 68de0c4c52c4e2a877218d9eac9bd07f4fcc23a3 (diff) | |
download | go-17fafe8e9ddc638f892e594033058df50506a19d.tar.gz |
fix the easy parts of bug120
R=r,ken
DELTA=66 (52 added, 3 deleted, 11 changed)
OCL=19386
CL=19389
Diffstat (limited to 'test/convlit.go')
-rw-r--r-- | test/convlit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/convlit.go b/test/convlit.go index 2f1b20225..23dab0a9c 100644 --- a/test/convlit.go +++ b/test/convlit.go @@ -25,7 +25,7 @@ var bad5 = "a" + 'a'; // ERROR "literals|incompatible" var bad6 int = 1.5; // ERROR "convert" var bad7 int = 1e100; // ERROR "overflow" -var bad8 float = 1e1000; // ERROR "overflow" +var bad8 float32 = 1e200; // ERROR "overflow" // but these implicit conversions are okay var good1 string = "a"; |