aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/go/issue-3288.go
blob: 330dd67c50e848381da895532e47d554d7913a6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main

func correct(word string) {
	switch word {

	} // <---
	select {

	} // <---
}

func test() {
	cases := []struct {
		first, second string
	} {
		{"Hello", "World"},   
	}

	for range cases {
		println("random stuff")
	}
}