diff options
author | Russ Cox <rsc@golang.org> | 2009-01-16 16:12:14 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-16 16:12:14 -0800 |
commit | f48cbfdf5629526ed49534e55298a5a12216ea0c (patch) | |
tree | 7da3dc3316609873715c3e6e7871cb2bf57da081 /test/convlit1.go | |
parent | 9f4a27cbe6cc46a82bb9f3e0cb23dda10819be15 (diff) | |
download | go-f48cbfdf5629526ed49534e55298a5a12216ea0c.tar.gz go-f48cbfdf5629526ed49534e55298a5a12216ea0c.zip |
convert tests; nothing interesting.
R=r
OCL=23012
CL=23014
Diffstat (limited to 'test/convlit1.go')
-rw-r--r-- | test/convlit1.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/convlit1.go b/test/convlit1.go index 063a1e504d..94d28969b7 100644 --- a/test/convlit1.go +++ b/test/convlit1.go @@ -10,6 +10,8 @@ var a = []int { "a" }; // ERROR "conver|incompatible" var b = int { 1 }; // ERROR "compos" +func f() int + func main() { - if sys.argc < 1 { } // ERROR "conver|incompatible" + if f < 1 { } // ERROR "conver|incompatible" } |