diff options
Diffstat (limited to 'test/files/pos/t2667.scala')
-rw-r--r-- | test/files/pos/t2667.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t2667.scala b/test/files/pos/t2667.scala new file mode 100644 index 0000000000..b214cc7f37 --- /dev/null +++ b/test/files/pos/t2667.scala @@ -0,0 +1,6 @@ +object A { + def foo(x: Int, y: Int*): Int = 45 + def foo[T](x: T*): Int = 55 + + val x: Unit = foo(23, 23f) +}
\ No newline at end of file |