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