summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.dg/goto-1.go
blob: e20fe4de96bc951279c7f3feb2f85ea8cdaaf859 (plain)
1
2
3
4
5
6
7
// { dg-do compile }

package main

func main() {
  goto lab;	// { dg-error "undefined label" }
}