Files
kotlin-fork/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.kt
T
pyos c7d7d903cd Add the IR version of CompileJavaAgainstKotlin tests
Only the WithoutJavac version for now, because the other one ignores
javac errors.
2019-04-12 12:43:37 +02:00

18 lines
248 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
package test
class E1: Exception()
class E2: Exception()
interface Trait {
@Throws()
fun none() {}
@Throws(E1::class)
fun one() {}
@Throws(E1::class, E2::class)
fun two() {}
}
class Test: Trait