summaryrefslogtreecommitdiff
path: root/test/switch.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/switch.go')
-rw-r--r--test/switch.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/switch.go b/test/switch.go
index bcbde68e4..5e1d85bb6 100644
--- a/test/switch.go
+++ b/test/switch.go
@@ -392,15 +392,6 @@ func main() {
}
assert(count == 2, "fail")
- // fallthrough in final case.
- count = 0
- switch i5 {
- case 5:
- count++
- fallthrough
- }
- assert(count == 1, "fail")
-
i := 0
switch x := 5; {
case i < x: