mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
10 lines
130 B
Kotlin
10 lines
130 B
Kotlin
package test
|
|
|
|
class E1: Exception()
|
|
|
|
interface Base<T> {
|
|
throws(E1::class)
|
|
fun one(t: T) {}
|
|
}
|
|
|
|
class Derived: Base<String> |