repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
go.test
/
test
/
int_lit.go
blob
2644e17b57da46ef9d91be75cbf0a2a59a404340
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
import
"os"
10
11
func
main
() {
12
s
:=
0
+
13
123
+
14
0123
+
15
0000
+
16
0x0
+
17
0x123
+
18
0X0
+
19
0X123
20
if
s
!=
788
{
21
print
(
"s is "
,
s
,
"; should be 788
\n
"
)
22
os
.
Exit
(
1
)
23
}
24
}