93642020ff
^KT-61259
19 lines
336 B
Kotlin
Vendored
19 lines
336 B
Kotlin
Vendored
/*
|
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
* that can be found in the LICENSE file.
|
|
*/
|
|
|
|
package codegen.`try`.try2
|
|
|
|
import kotlin.test.*
|
|
|
|
@Test fun runTest() {
|
|
val x = try {
|
|
throw Error()
|
|
5
|
|
} catch (e: Throwable) {
|
|
6
|
|
}
|
|
|
|
println(x)
|
|
} |