blob: a7bca9a7bed4ca32db81164fdb7a4aa30e64f66a [file] [log] [blame]
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s
// CHECK: true
// CHECK-NEXT: false
package main
func main() {
switch true {
default:
break
println("default")
}
switch true {
case true:
println("true")
fallthrough
case false:
println("false")
}
}