c7d7d903cd
Only the WithoutJavac version for now, because the other one ignores javac errors.
12 lines
226 B
Kotlin
Vendored
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) {}
|
|
} |