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

func subr() int {
  return 0
}

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