summaryrefslogtreecommitdiff
path: root/test/pending/neg/t8079d.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/neg/t8079d.check')
-rw-r--r--test/pending/neg/t8079d.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/neg/t8079d.check b/test/pending/neg/t8079d.check
new file mode 100644
index 0000000000..f63f4902f8
--- /dev/null
+++ b/test/pending/neg/t8079d.check
@@ -0,0 +1,4 @@
+t8079d.scala:3: error: contravariant type I occurs in covariant position in type C.this.X of value b
+ def f2(b: X): Unit
+ ^
+one error found