package test; import jet.runtime.typeinfo.KotlinSignature; import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError; public class MissingUpperBound { @ExpectLoadError("Upper bound number mismatch for A. Expected 2, but found 1") @KotlinSignature("fun foo() : String") public String foo() { throw new UnsupportedOperationException(); } }