Test for obsolete KT-9560
#KT-9560 Obsolete
This commit is contained in:
committed by
Max Kammerer
parent
1d84103cce
commit
926e3fd350
@@ -0,0 +1,7 @@
|
|||||||
|
private const val z = "OK";
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return {
|
||||||
|
z
|
||||||
|
}()
|
||||||
|
}
|
||||||
+6
@@ -1977,6 +1977,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/constants/long.kt");
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/constants/long.kt");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("privateConst.kt")
|
||||||
|
public void testPrivateConst() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/constants/privateConst.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("compiler/testData/codegen/box/controlStructures")
|
@TestMetadata("compiler/testData/codegen/box/controlStructures")
|
||||||
|
|||||||
Reference in New Issue
Block a user