JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// This test was adapted from compiler/testData/codegen/box/callableReference/function/.
|
||||
package foo
|
||||
|
||||
class A {
|
||||
fun foo() = "OK"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val x = A::foo
|
||||
var r = x(A())
|
||||
return r
|
||||
}
|
||||
Reference in New Issue
Block a user