aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t6667b.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t6667b.check')
-rw-r--r--tests/untried/neg/t6667b.check13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/untried/neg/t6667b.check b/tests/untried/neg/t6667b.check
new file mode 100644
index 000000000..99cea9a47
--- /dev/null
+++ b/tests/untried/neg/t6667b.check
@@ -0,0 +1,13 @@
+t6667b.scala:16: error: ambiguous implicit values:
+ both value a in object Test of type => Test.Box
+ and value b of type Test.Box
+ match expected type Test.Box
+ new Test()
+ ^
+t6667b.scala:19: error: ambiguous implicit values:
+ both value a in object Test of type => Test.Box
+ and value b of type Test.Box
+ match expected type Test.Box
+ new Test()
+ ^
+two errors found