aboutsummaryrefslogtreecommitdiff
path: root/test/int_lit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
committerRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
commitbc2f5f1dce1687d0aff0d51ea1b56a5d52aa3891 (patch)
tree9d0faf1d96579f8c9fb0321586cab7c5149ccdf1 /test/int_lit.go
parent7293dab5a9e4d0fb4b66fd76bab2572bbebc050d (diff)
downloadgo-bc2f5f1dce1687d0aff0d51ea1b56a5d52aa3891.tar.gz
go-bc2f5f1dce1687d0aff0d51ea1b56a5d52aa3891.zip
fix bug depot:
1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
Diffstat (limited to 'test/int_lit.go')
-rw-r--r--test/int_lit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/int_lit.go b/test/int_lit.go
index 80c7f3a5e8..f7311dd25d 100644
--- a/test/int_lit.go
+++ b/test/int_lit.go
@@ -17,7 +17,7 @@ func main() {
0X0 +
0X123;
if s != 788 {
- print "s is ", s, "; should be 788\n";
+ print("s is ", s, "; should be 788\n");
sys.exit(1);
}
}