aboutsummaryrefslogtreecommitdiff
path: root/test/int_lit.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-03-26 09:28:57 -0700
committerRobert Griesemer <gri@golang.org>2008-03-26 09:28:57 -0700
commit2f5b4d9893051be6bb946954a50c34b694957612 (patch)
tree34456e7f25b74ab46ae7f6fe3b123b9155edfc87 /test/int_lit.go
parent67aafa6f5718352f0ada5abd9687f94df9a2d534 (diff)
downloadgo-2f5b4d9893051be6bb946954a50c34b694957612.tar.gz
go-2f5b4d9893051be6bb946954a50c34b694957612.zip
- new directory structure
SVN=113851
Diffstat (limited to 'test/int_lit.go')
-rw-r--r--test/int_lit.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/int_lit.go b/test/int_lit.go
new file mode 100644
index 0000000000..ef74370ac4
--- /dev/null
+++ b/test/int_lit.go
@@ -0,0 +1,19 @@
+// $G $F.go && $L $F.$A && ./$A.out
+
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+func main() {
+ [ 0,
+ 123,
+ 0123,
+ 0000,
+ 0x0,
+ 0x123,
+ 0X0,
+ 0X123
+ ];
+}