Add regression test for KT-3132
#KT-3132 Obsolete
This commit is contained in:
@@ -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");
|
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")
|
@TestMetadata("nestedClassObject.kt")
|
||||||
public void testNestedClassObject() throws Exception {
|
public void testNestedClassObject() throws Exception {
|
||||||
blackBoxFileByFullPath("compiler/testData/codegen/box/innerNested/nestedClassObject.kt");
|
blackBoxFileByFullPath("compiler/testData/codegen/box/innerNested/nestedClassObject.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user