Merge pull request #121 from goodwinnk/EA-35963

Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963)
This commit is contained in:
Alex Tkachman
2012-08-20 08:22:15 -07:00
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,5 @@
fun main(args : Array<String>) {
if (1 != 0) {
1
}
}
@@ -286,6 +286,10 @@ public class PrimitiveTypesTest extends CodegenTestCase {
assertEquals(expected, main.invoke(null, arg1, arg2));
}
public void testEa35963() {
blackBoxFile("regressions/ea35963.jet");
}
public void testKt242 () throws Exception {
blackBoxFile("regressions/kt242.jet");
}