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
/
fixedbugs
/
bug160.dir
/
y.go
blob
27e2f352a41f634d469394dae1837859a393d010
1
// Copyright 2009 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
package
main
6
7
import
"os"
8
import
"./x"
9
10
func
main
() {
11
if
x
.
Zero
!=
0
{
12
println
(
"x.Zero = "
,
x
.
Zero
);
13
os
.
Exit
(
1
);
14
}
15
if
x
.
Ten
!=
10
{
16
println
(
"x.Ten = "
,
x
.
Ten
);
17
os
.
Exit
(
1
);
18
}
19
}