blob: 93814391bf7ae8f3a47296450c2a62dc42867f22 [file]
// LIBRARY_PLATFORMS: JVM
class MyException : Exception()
class C @Throws(Exception::class) constructor(a: Int = 1) {
@Throws(java.io.IOException::class, MyException::class)
fun readFile(name: String): String { TODO() }
// Should be mapped to java.lang.Throwable
@Throws(kotlin.Throwable::class)
fun baz() {}
}