Files
kotlin-fork/idea/testData/intentions/convertIfWithThrowToAssert/inapplicableMoreThanSingleExpression.kt
T
Valentin Kipyatkov 74cdd39ac9 Renamed test data dirs
2015-05-14 01:00:26 +03:00

8 lines
139 B
Kotlin
Vendored

// IS_APPLICABLE: false
// WITH_RUNTIME
fun foo() {
if <caret>(1 == 0) {
val y = 1
throw AssertionError("text")
}
}