mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
Introduce JavaAgainstKotlinBinariesTest
This commit is contained in:
13
idea/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.java
vendored
Normal file
13
idea/testData/kotlinAndJavaChecker/javaAgainstKotlin/JvmOverloadsFunctions.java
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import test.kotlin.A;
|
||||
|
||||
import static test.kotlin.JvmOverloadsFunctionsKt.foo;
|
||||
|
||||
class JvmOverloadsFunctions {
|
||||
public static void main(String[] args) {
|
||||
A a = new A() { };
|
||||
|
||||
foo(a.getClass(), a, true, "Some");
|
||||
foo(a.getClass(), a, true);
|
||||
foo(a.getClass(), a);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user