diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bug3699.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/bug3699.scala b/test/files/run/bug3699.scala new file mode 100644 index 0000000000..0475353887 --- /dev/null +++ b/test/files/run/bug3699.scala @@ -0,0 +1,11 @@ +object Test { + def act: Int => Int = { + case _ => + lazy val (a, b) = (3,9) + a + b + } + def main(args: Array[String]) = { + assert(act(1) == 9) + } +}
\ No newline at end of file |