summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.go-torture/execute/function-2.go
blob: 8b9aa878ed3b263d36857796b777fc4cedf77821 (plain)
1
2
3
4
5
6
7
8
9
package main

func subr(p int) int {
  return p
}

func main() {
  if subr(0) != 0 { panic(0) }
}