Minor, add test for obsolete issue

#KT-4228 Obsolete
This commit is contained in:
Alexander Udalov
2014-12-24 19:18:17 +03:00
parent 18a536c846
commit 11dfdfc123
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,14 @@
class A {
class object
}
val foo: Any.() -> Unit = {}
fun test() {
A.(foo)()
}
fun box(): String {
test()
return "OK"
}
@@ -3215,6 +3215,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt4228.kt")
public void testKt4228() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt4228.kt");
doTest(fileName);
}
@TestMetadata("kt475.kt")
public void testKt475() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt475.kt");