summaryrefslogtreecommitdiff
path: root/test/files/neg/t2316.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2316.check')
-rw-r--r--test/files/neg/t2316.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t2316.check b/test/files/neg/t2316.check
new file mode 100644
index 0000000000..fea1745663
--- /dev/null
+++ b/test/files/neg/t2316.check
@@ -0,0 +1,7 @@
+t2316.scala:28: error: ambiguous implicit values:
+ both method T1FromT3 in object T1 of type (implicit t3: test.T3)test.T1
+ and method T1FromT2 in object T1 of type (implicit t2: test.T2)test.T1
+ match expected type test.T1
+ val t1 = requireT1
+ ^
+one error found