tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: AT.java
|
||||
|
||||
public class AT<G> {
|
||||
public String result = "fail";
|
||||
public void foo(G ...y) {
|
||||
result = "OK";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
fun AT<*>.bar() {
|
||||
foo()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val a = AT<String>()
|
||||
a.bar()
|
||||
return a.result
|
||||
}
|
||||
Reference in New Issue
Block a user