Regression test for KT-24

#KT-24 Obsolete
This commit is contained in:
Alexander Udalov
2013-06-24 23:18:44 +04:00
parent 9b3115a10b
commit 68b0ad53c4
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,10 @@
object A {
class B
class C<T>
}
fun box(): String {
val b = A.B()
val c = A.C<String>()
return "OK"
}
@@ -2340,6 +2340,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/innerNested/kt3132.kt");
}
@TestMetadata("nestedClassInObject.kt")
public void testNestedClassInObject() throws Exception {
doTest("compiler/testData/codegen/box/innerNested/nestedClassInObject.kt");
}
@TestMetadata("nestedClassObject.kt")
public void testNestedClassObject() throws Exception {
doTest("compiler/testData/codegen/box/innerNested/nestedClassObject.kt");