support putting the result of a dummy comparison to stack (KT-1899)

This commit is contained in:
Dmitry Jemerov
2012-06-02 18:19:27 +02:00
parent f909745d1b
commit 12498e30eb
5 changed files with 23 additions and 3 deletions
@@ -336,4 +336,9 @@ public class ControlStructuresTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt2147.kt");
}
public void testIfDummy() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
blackBoxFile("regressions/kt1899.kt");
}
}