mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
22 lines
383 B
Plaintext
22 lines
383 B
Plaintext
// +JDK
|
|
|
|
// Fixpoint generic in Java: Enum<T extends Enum<T>>
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : annotation.RetentionPolicy) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
java.util.Collections.emptyList()
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Comparable<Int>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.util.ArrayList<Int>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Class<Int>) {
|
|
|
|
} |