Test that Javac does not fail on two methods that differ only by return type

This commit is contained in:
Andrey Breslav
2014-06-16 21:54:40 +04:00
parent b49a203a67
commit 2351c53dce
3 changed files with 22 additions and 0 deletions
@@ -132,6 +132,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
doTest("compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.kt");
}
@TestMetadata("ClashingSignaturesWithoutReturnType.kt")
public void testClashingSignaturesWithoutReturnType() throws Exception {
doTest("compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.kt");
}
@TestMetadata("DefaultMethod.kt")
public void testDefaultMethod() throws Exception {
doTest("compiler/testData/compileJavaAgainstKotlin/method/DefaultMethod.kt");