diff options
Diffstat (limited to 'test/files/run/bug1141.scala')
-rw-r--r-- | test/files/run/bug1141.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/bug1141.scala b/test/files/run/bug1141.scala new file mode 100644 index 0000000000..6c8e1c7399 --- /dev/null +++ b/test/files/run/bug1141.scala @@ -0,0 +1,7 @@ +object Test extends Application { + val foo = new { + def apply(args : String*) = args foreach println + } + + foo("var", "args") +}
\ No newline at end of file |