Add regression test for KT-3132

#KT-3132 Obsolete
This commit is contained in:
Alexander Udalov
2013-01-31 20:59:16 +04:00
parent 1d8e7626a1
commit 2e64aac788
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,13 @@
class Test {
trait Foo { }
class FooImplNested: Foo { }
inner class FooImplInner: Foo { }
}
fun box(): String {
Test().FooImplInner()
Test.FooImplNested()
return "OK"
}
@@ -1794,6 +1794,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
blackBoxFileByFullPath("compiler/testData/codegen/box/innerNested/innerSimple.kt");
}
@TestMetadata("kt3132.kt")
public void testKt3132() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/box/innerNested/kt3132.kt");
}
@TestMetadata("nestedClassObject.kt")
public void testNestedClassObject() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/box/innerNested/nestedClassObject.kt");