1 // expected: cannot fallthrough final case in switch 2 3 package main 4 5 func notmain() { 6 switch { 7 case true: 8 fallthrough 9 } 10 } 11