diff options
Diffstat (limited to 'test/files/run/t3488.scala')
-rw-r--r-- | test/files/run/t3488.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t3488.scala b/test/files/run/t3488.scala new file mode 100644 index 0000000000..20a1400dce --- /dev/null +++ b/test/files/run/t3488.scala @@ -0,0 +1,6 @@ +object Test extends App { + def foo(p: => Unit)(x:Int = 0) = x + + println(foo { val List(_*)=List(0); 1 } ()) + println(foo { val List(_*)=List(0); 1 } (1)) +} |