mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
13 lines
188 B
Kotlin
Vendored
13 lines
188 B
Kotlin
Vendored
class A {
|
|
val p : Int = try{
|
|
1
|
|
} catch(e: Exception) {
|
|
throw RuntimeException()
|
|
}
|
|
}
|
|
|
|
fun box() : String {
|
|
if (A().p != 1) return "fail 1"
|
|
|
|
return "OK"
|
|
} |