mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
13 lines
398 B
Java
13 lines
398 B
Java
package test;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class WrongValueParametersCount {
|
|
@ExpectLoadError("Method signature has 0 value parameters, but alternative signature has 1")
|
|
@KotlinSignature("fun foo(a : Int) : Int")
|
|
public Integer foo() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|