diff options
Diffstat (limited to 'test/int_lit.go')
-rw-r--r-- | test/int_lit.go | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/test/int_lit.go b/test/int_lit.go index 1f4d318af..1cb42f5d1 100644 --- a/test/int_lit.go +++ b/test/int_lit.go @@ -9,17 +9,16 @@ package main import "os" func main() { - s := - 0 + - 123 + - 0123 + - 0000 + - 0x0 + - 0x123 + - 0X0 + - 0X123; - if s != 788 { - print("s is ", s, "; should be 788\n"); - os.Exit(1); - } + s := 0 + + 123 + + 0123 + + 0000 + + 0x0 + + 0x123 + + 0X0 + + 0X123; + if s != 788 { + print("s is ", s, "; should be 788\n"); + os.Exit(1); + } } |