summaryrefslogtreecommitdiff
path: root/test/files/neg/t6042.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6042.check')
-rw-r--r--test/files/neg/t6042.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6042.check b/test/files/neg/t6042.check
new file mode 100644
index 0000000000..221f06e2c5
--- /dev/null
+++ b/test/files/neg/t6042.check
@@ -0,0 +1,4 @@
+t6042.scala:7: error: illegal type selection from volatile type a.OpSemExp (with upper bound LazyExp[a.OpSemExp] with _$1)
+ def foo[AA <: LazyExp[_]](a: AA): a.OpSemExp#Val = ??? // a.OpSemExp is volatile, because of `with This`
+ ^
+one error found