summaryrefslogtreecommitdiff
path: root/test/files/neg/volatile.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/volatile.check')
-rw-r--r--test/files/neg/volatile.check7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/files/neg/volatile.check b/test/files/neg/volatile.check
index da27c68e6c..b904284125 100644
--- a/test/files/neg/volatile.check
+++ b/test/files/neg/volatile.check
@@ -1,4 +1,7 @@
-volatile.scala:11: error: Inferred type C.this.D with C.this.E#T contains type selection from volatile type C.this.D with C.this.E#T
+volatile.scala:11: error: Inferred type C.this.D with C.this.E#T contains type selection from volatile type C.this.D with C.this.E
var sneak = { () => y.x }
^
-one error found
+volatile.scala:11: error: Inferred type () => C.this.D with C.this.E#T contains type selection from volatile type C.this.D with C.this.E
+ var sneak = { () => y.x }
+ ^
+two errors found