]> Cypherpunks.ru repositories - gostls13.git/blob - test/int_lit.go
Fix a few tests
[gostls13.git] / test / int_lit.go
1 // $G $F.go && $L $F.$A && ./$A.out
2
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package main
8
9 func main() int {
10   s := 
11     0 +
12     123 +
13     0123 +
14     0000 +
15     0x0 +
16     0x123 +
17     0X0 +
18     0X123;
19   if s != 788 {
20     print "s is ", s, "; should be 788\n";
21     return 1;
22   }
23 }