mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
12 lines
157 B
Kotlin
12 lines
157 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
public trait A<T> {
|
|
fun bar(): T
|
|
fun foo(): T = bar()
|
|
}
|
|
|
|
public class B : A<String> {
|
|
override fun bar() = ""
|
|
}
|