summaryrefslogtreecommitdiff
path: root/test/files/neg/t1364.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t1364.check')
-rw-r--r--test/files/neg/t1364.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t1364.check b/test/files/neg/t1364.check
new file mode 100644
index 0000000000..78375333c2
--- /dev/null
+++ b/test/files/neg/t1364.check
@@ -0,0 +1,5 @@
+t1364.scala:9: error: overriding type T in trait A with bounds >: Nothing <: AnyRef{type S[-U]};
+ type T has incompatible type
+ type T = { type S[U] = U }
+ ^
+one error found