1 // errchk $G -e $D/$F.go
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
12 // invalid use of goto.
13 // do whatever you like, just don't crash.
15 a := []*int{&i, &i, &i, &i}
17 goto start // ERROR "jumps into block"
20 for _, x = range a { // GCCGO_ERROR "block"