Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.kt
2015-09-04 17:23:26 +03:00

17 lines
222 B
Kotlin
Vendored

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