fix for while-loop-ending-with-if bug

This commit is contained in:
Alex Tkachman
2011-12-20 11:23:13 +02:00
parent 78a2845604
commit ccdc80d1fe
4 changed files with 43 additions and 22 deletions
@@ -244,6 +244,12 @@ public class ControlStructuresTest extends CodegenTestCase {
public void testSynchronized() throws Exception {
createEnvironmentWithFullJdk();
blackBoxFile("controlStructures/sync.jet");
// System.out.println(generateToText());
}
public void testIfInWhile() throws Exception {
createEnvironmentWithFullJdk();
blackBoxFile("controlStructures/ifInWhile.jet");
// System.out.println(generateToText());
}
}