K2: reproduce strange "smartcast aside" behavior related to KT-62544 fix

This commit is contained in:
Mikhail Glukhikh
2023-10-27 14:42:08 +02:00
committed by Space Team
parent 9c146adc3a
commit 1ef0f9e944
16 changed files with 337 additions and 0 deletions
@@ -1533,6 +1533,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/simpleUnaryOperators.kt");
}
@TestMetadata("smartCastAside.kt")
public void testSmartCastAside() throws Exception {
runTest("compiler/testData/ir/irText/expressions/smartCastAside.kt");
}
@TestMetadata("smartCasts.kt")
public void testSmartCasts() throws Exception {
runTest("compiler/testData/ir/irText/expressions/smartCasts.kt");