summaryrefslogtreecommitdiff
path: root/test/files/neg/bug63.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug63.check')
-rw-r--r--test/files/neg/bug63.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug63.check b/test/files/neg/bug63.check
new file mode 100644
index 0000000000..51b7c65bd1
--- /dev/null
+++ b/test/files/neg/bug63.check
@@ -0,0 +1,4 @@
+bug63.scala:2: covariant type T occurs in contravariant position in type T of value elem
+ def set(elem: T): Unit = ();
+ ^
+one error found