Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/throws/DefaultArgs.kt
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

12 lines
226 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
package test
class E1: Exception()
@Throws(E1::class) @JvmOverloads
fun one(a: Int = 1) {}
class One @Throws(E1::class) constructor(a: Int = 1) {
@Throws(E1::class)
fun one(a: Int = 1) {}
}