Test for obsolete KT-9560

#KT-9560 Obsolete
This commit is contained in:
Michael Bogdanov
2015-10-19 12:53:21 +03:00
committed by Max Kammerer
parent 1d84103cce
commit 926e3fd350
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,7 @@
private const val z = "OK";
fun box(): String {
return {
z
}()
}
@@ -1977,6 +1977,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/constants/long.kt");
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")