summaryrefslogtreecommitdiff
path: root/test/files/neg/t5729.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5729.check')
-rw-r--r--test/files/neg/t5729.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5729.check b/test/files/neg/t5729.check
new file mode 100644
index 0000000000..10c13db8b6
--- /dev/null
+++ b/test/files/neg/t5729.check
@@ -0,0 +1,7 @@
+t5729.scala:5: error: ambiguous reference to overloaded definition,
+both method join in object Test of type [S](in: Seq[T[S]])String
+and method join in object Test of type (in: Seq[T[_]])Int
+match argument types (Seq[T[_]])
+ join(null: Seq[T[_]])
+ ^
+one error found