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