added test for KT-239

This commit is contained in:
Alex Tkachman
2011-08-31 14:06:53 +02:00
parent 13ca1ea274
commit 38146e1600
2 changed files with 7 additions and 0 deletions
@@ -0,0 +1,3 @@
fun box(i: Int?) {
val j = i?.plus(3) //verify error
}
@@ -262,4 +262,8 @@ public class PrimitiveTypesTest extends CodegenTestCase {
public void testKt242 () throws Exception {
blackBoxFile("regressions/kt242.jet");
}
public void testKt239 () throws Exception {
blackBoxFile("regressions/kt242.jet");
}
}