diff options
Diffstat (limited to 'tests/run/sammy_repeated.scala')
-rw-r--r-- | tests/run/sammy_repeated.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/sammy_repeated.scala b/tests/run/sammy_repeated.scala new file mode 100644 index 000000000..c24dc4190 --- /dev/null +++ b/tests/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 |