]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/go.go-torture/execute/function-2.go
Add Go frontend, libgo library, and Go testsuite.
[thirdparty/gcc.git] / gcc / testsuite / go.go-torture / execute / function-2.go
1 package main
2
3 func subr(p int) int {
4 return p
5 }
6
7 func main() {
8 if subr(0) != 0 { panic(0) }
9 }