1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:37:58 -07:00
go/tests/int_lit.go
Robert Griesemer d2490e7419 - Implemented simple rule for optional semicolons:
Semicolons are terminators for statements as in C,
  but if followed by a "}" they are not required.
  This is easy to understand and produces the desired
  result for statements.
- Updated todo.txt.

SVN=113198
2008-03-19 15:45:07 -07:00

20 lines
307 B
Go

// $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
];
}