diff options
Diffstat (limited to 'test/files/neg/t835.check')
-rw-r--r-- | test/files/neg/t835.check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t835.check b/test/files/neg/t835.check new file mode 100644 index 0000000000..6ad18d3028 --- /dev/null +++ b/test/files/neg/t835.check @@ -0,0 +1,9 @@ +t835.scala:2: error: no `: _*' annotation allowed here +(such annotations are only allowed in arguments to *-parameters) + Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*)) + ^ +t835.scala:2: error: no `: _*' annotation allowed here +(such annotations are only allowed in arguments to *-parameters) + Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*)) + ^ +two errors found |