summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/indent/go/issue-3288.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/go/issue-3288.go b/tests/indent/go/issue-3288.go
new file mode 100644
index 00000000..a5920818
--- /dev/null
+++ b/tests/indent/go/issue-3288.go
@@ -0,0 +1,14 @@
+package main
+
+func correct(word string) {
+ switch word {
+
+ } // <---
+ select {
+
+ } // <---
+
+ arr := []struct {
+
+ } // <---
+}