mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
270 B
Java
11 lines
270 B
Java
package test;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
|
|
public class MissingUpperBound {
|
|
@KotlinSignature("fun <A : Runnable> foo() : String")
|
|
public <A extends Runnable & Cloneable> String foo() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|