summaryrefslogtreecommitdiff
path: root/test/files/neg/seqtest.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/seqtest.check')
-rw-r--r--test/files/neg/seqtest.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/seqtest.check b/test/files/neg/seqtest.check
new file mode 100644
index 0000000000..d3a04e8e51
--- /dev/null
+++ b/test/files/neg/seqtest.check
@@ -0,0 +1,6 @@
+seqtest.scala:11: ambiguous reference to overloaded definition,
+both method L: [a](scala.Seq[a])scala.Seq[a]
+and method L: [a](a*)scala.Seq[a] match.
+ val c = L(a);
+ ^
+one error found