Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / go.test / test / fixedbugs / bug178.go
blob4f586342b46794580167ca1b829e5a88a3fbe187
1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2009 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.
7 package main
9 func main() {
11 for i := 0; i < 1; i++ {
12 L1:
13 for {
14 break L;
16 panic("BUG: not reached - break");
19 L2:
20 for i := 0; i < 1; i++ {
21 L3:
22 for {
23 continue L2;
25 panic("BUG: not reached - continue");