diff options
Diffstat (limited to 'test/files/run/sammy_repeated.scala')
-rw-r--r-- | test/files/run/sammy_repeated.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/sammy_repeated.scala b/test/files/run/sammy_repeated.scala new file mode 100644 index 0000000000..c24dc41909 --- /dev/null +++ b/test/files/run/sammy_repeated.scala @@ -0,0 +1,8 @@ +trait RepeatedSink { def accept(a: Any*): Unit } + +object Test { + def main(args: Array[String]): Unit = { + val f: RepeatedSink = (a) => println(a) + f.accept(1) + } +}
\ No newline at end of file |