summaryrefslogtreecommitdiff
path: root/test/files/neg/t708.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t708.check')
-rw-r--r--test/files/neg/t708.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t708.check b/test/files/neg/t708.check
new file mode 100644
index 0000000000..15a9c9ed93
--- /dev/null
+++ b/test/files/neg/t708.check
@@ -0,0 +1,5 @@
+t708.scala:8: error: overriding type S in trait X with bounds >: Nothing <: A.this.T;
+ type S has incompatible type
+ override private[A] type S = Any;
+ ^
+one error found