mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
10 lines
132 B
Kotlin
10 lines
132 B
Kotlin
package test
|
|
|
|
class E1: Exception()
|
|
|
|
trait Base<T> {
|
|
throws(javaClass<E1>())
|
|
fun one(t: T) {}
|
|
}
|
|
|
|
class Derived: Base<String> |