aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t1477.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t1477.check')
-rw-r--r--tests/untried/neg/t1477.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t1477.check b/tests/untried/neg/t1477.check
new file mode 100644
index 000000000..72bffa327
--- /dev/null
+++ b/tests/untried/neg/t1477.check
@@ -0,0 +1,5 @@
+t1477.scala:13: error: overriding type V in trait C with bounds <: 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