20 lines
356 B
Kotlin
20 lines
356 B
Kotlin
package codegen.localClass.tryCatch
|
|
|
|
import kotlin.test.*
|
|
|
|
private fun foo() {
|
|
val local =
|
|
object {
|
|
fun bar() {
|
|
try {
|
|
} catch (t: Throwable) {
|
|
println(t)
|
|
}
|
|
}
|
|
}
|
|
local.bar()
|
|
}
|
|
|
|
@Test fun runTest() {
|
|
foo()
|
|
} |