summaryrefslogtreecommitdiff
path: root/test/files/neg/t2712-3.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2712-3.check')
-rw-r--r--test/files/neg/t2712-3.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t2712-3.check b/test/files/neg/t2712-3.check
new file mode 100644
index 0000000000..a84d96bf09
--- /dev/null
+++ b/test/files/neg/t2712-3.check
@@ -0,0 +1,6 @@
+t2712-3.scala:17: error: type mismatch;
+ found : test.One[test.X3]
+ required: test.Two[test.X1,test.X2]
+ test1(foo): Two[X1, X2] // fails without -Ypartial-unification
+ ^
+one error found