[Issue 281] added test

This commit is contained in:
peichhorn
2011-10-07 21:40:33 +02:00
parent 64ff254b65
commit 2d39470469
2 changed files with 15 additions and 0 deletions
@@ -29,5 +29,13 @@ public class ValLessSimple {
}
}
private void testValInCatchBlock() {
try {
val x = 1 / 0;
} catch (ArithmeticException e) {
val y = 0;
}
}
private String field = "field";
}