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 | a1585b676bb13a36847beda61b94d32433d96715 (patch) | |
tree | a42f540201ae9ea978786ad92eaa17f107dd823f /test/convlit.go | |
parent | b7f01f9f41c8aae377fc0592e9c6bed2e6fe577c (diff) | |
download | go-a1585b676bb13a36847beda61b94d32433d96715.tar.gz go-a1585b676bb13a36847beda61b94d32433d96715.zip |
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 2f1b202258..23dab0a9c4 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"; |