mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-13 00:21:28 +00:00
Move test-related code to org.jetbrains.kotlin.test, also move some tests to packages with better names
14 lines
385 B
Java
Vendored
14 lines
385 B
Java
Vendored
package test;
|
|
|
|
import java.util.*;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class VarargReplacedWithNotVararg {
|
|
@ExpectLoadError("Parameter in method signature is vararg, but in alternative signature it is not")
|
|
@KotlinSignature("fun foo(s : String)")
|
|
public void foo(String... s) {
|
|
}
|
|
}
|