Files
kotlin-fork/compiler/testData/diagnostics/tests/controlStructures/valVarCatchParameter.kt
T
2021-05-25 20:39:34 +03:00

14 lines
245 B
Kotlin
Vendored

// FIR_IDENTICAL
fun f() {
try {
} catch (<!VAL_OR_VAR_ON_CATCH_PARAMETER!>val<!> e: Exception) {
}
try {
} catch (<!VAL_OR_VAR_ON_CATCH_PARAMETER!>var<!> e: Exception) {
}
try {
} catch (e: Exception) {
}
}