12 lines
229 B
Kotlin
Vendored
12 lines
229 B
Kotlin
Vendored
// DISABLE-ERRORS
|
|
// WITH_RUNTIME
|
|
// IS_APPLICABLE: false
|
|
|
|
class FooException : Exception()
|
|
|
|
class BarException : Exception()
|
|
|
|
@Throws(exceptionClasses = listOf(BarException::class))
|
|
fun test() {
|
|
<caret>throw FooException()
|
|
} |