diff options
Diffstat (limited to 'tests/pending/run/t2333.scala')
-rw-r--r-- | tests/pending/run/t2333.scala | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/pending/run/t2333.scala b/tests/pending/run/t2333.scala new file mode 100644 index 000000000..7dc7a92df --- /dev/null +++ b/tests/pending/run/t2333.scala @@ -0,0 +1,16 @@ +class A { + def whatever() { + lazy val a = 1 + lazy val b = try { 2 } catch { case _: Throwable => 0 } + a + b + + } +} + +object Test { + def main(a: Array[String]) { + val a = new A + a.whatever + } +} |