diff options
Diffstat (limited to 'tests/new/t296.scala')
-rw-r--r-- | tests/new/t296.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/new/t296.scala b/tests/new/t296.scala new file mode 100644 index 000000000..bb3b22984 --- /dev/null +++ b/tests/new/t296.scala @@ -0,0 +1,5 @@ +object Bug { + def foo (l: => String, l1: => String) : String = 12 match { + case 12 => l1 + case _ => l} +} |