labeled.go 225 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 // RUN: llgo -o %t %s // RUN: %t 2>&1 | FileCheck %s // CHECK: 0 package main func labeledBreak() { var i int L: for ; i < 10; i++ { switch { default: break L } } println(i) } func main() { labeledBreak() }