diff options
author | Robert Griesemer <gri@golang.org> | 2008-03-26 09:28:57 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2008-03-26 09:28:57 -0700 |
commit | 2f5b4d9893051be6bb946954a50c34b694957612 (patch) | |
tree | 34456e7f25b74ab46ae7f6fe3b123b9155edfc87 /test/int_lit.go | |
parent | 67aafa6f5718352f0ada5abd9687f94df9a2d534 (diff) | |
download | go-2f5b4d9893051be6bb946954a50c34b694957612.tar.gz go-2f5b4d9893051be6bb946954a50c34b694957612.zip |
- new directory structure
SVN=113851
Diffstat (limited to 'test/int_lit.go')
-rw-r--r-- | test/int_lit.go | 19 |
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 + ]; +} |