1// Copyright 2016 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package a
6
7func F1() {
8L:
9	goto L
10}
11
12func F2() {
13L:
14	for {
15		break L
16	}
17}
18
19func F3() {
20L:
21	for {
22		continue L
23	}
24}
25
26func F4() {
27	switch {
28	case true:
29		fallthrough
30	default:
31	}
32}
33
34type T struct{}
35
36func (T) M1() {
37L:
38	goto L
39}
40
41func (T) M2() {
42L:
43	for {
44		break L
45	}
46}
47
48func (T) M3() {
49L:
50	for {
51		continue L
52	}
53}
54
55func (T) M4() {
56	switch {
57	case true:
58		fallthrough
59	default:
60	}
61}
62