mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-05 15:52:05 +00:00
Move test-related code to org.jetbrains.kotlin.test, also move some tests to packages with better names
13 lines
400 B
Java
Vendored
13 lines
400 B
Java
Vendored
package test;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class SyntaxError {
|
|
@ExpectLoadError("Alternative signature has 2 syntax errors, first is at 8: Expecting a parameter declaration")
|
|
@KotlinSignature("fun foo(,) : Int")
|
|
public Integer foo() {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|