mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
11 lines
219 B
Kotlin
Vendored
11 lines
219 B
Kotlin
Vendored
// "Create label foo@" "false"
|
|
// ERROR: The label '@foo' does not denote a loop
|
|
// ERROR: Unresolved reference: @foo
|
|
|
|
fun bar(f: () -> Unit) { }
|
|
|
|
fun test() {
|
|
while (true) {
|
|
bar { break@<caret>foo }
|
|
}
|
|
} |