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