summaryrefslogtreecommitdiff
path: root/test/files/neg/t1477.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t1477.check')
-rw-r--r--test/files/neg/t1477.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t1477.check b/test/files/neg/t1477.check
new file mode 100644
index 0000000000..e497637857
--- /dev/null
+++ b/test/files/neg/t1477.check
@@ -0,0 +1,5 @@
+t1477.scala:13: error: overriding type V in trait C with bounds >: Nothing <: Middle.this.D;
+ type V is a volatile type; cannot override a type with non-volatile upper bound
+ type V <: (D with U)
+ ^
+one error found