From 976529fd654f2cdf6ca21afcdeddedeff7d9583a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 16 Jan 2009 16:12:14 -0800 Subject: convert tests; nothing interesting. R=r OCL=23012 CL=23014 --- test/convlit1.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/convlit1.go') diff --git a/test/convlit1.go b/test/convlit1.go index 063a1e504..94d28969b 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" } -- cgit v1.2.1