Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / labels / labels.go
1 package labels
2
3 func _() {
4         goto F //@complete(" //", label1, label5)
5
6 Foo1: //@item(label1, "Foo1", "label", "const")
7         for a, b := range []int{} {
8         Foo2: //@item(label2, "Foo2", "label", "const")
9                 switch {
10                 case true:
11                         break F //@complete(" //", label2, label1)
12
13                         continue F //@complete(" //", label1)
14
15                         {
16                         FooUnjumpable:
17                         }
18
19                         goto F //@complete(" //", label1, label2, label4, label5)
20
21                         func() {
22                                 goto F //@complete(" //", label3)
23
24                                 break F //@complete(" //")
25
26                                 continue F //@complete(" //")
27
28                         Foo3: //@item(label3, "Foo3", "label", "const")
29                         }()
30                 }
31
32         Foo4: //@item(label4, "Foo4", "label", "const")
33                 switch interface{}(a).(type) {
34                 case int:
35                         break F //@complete(" //", label4, label1)
36                 }
37         }
38
39         break F //@complete(" //")
40
41         continue F //@complete(" //")
42
43 Foo5: //@item(label5, "Foo5", "label", "const")
44         for {
45                 break F //@complete(" //", label5)
46         }
47
48         return
49 }