aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/null-unsoundness.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/null-unsoundness.check')
-rw-r--r--tests/untried/neg/null-unsoundness.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/null-unsoundness.check b/tests/untried/neg/null-unsoundness.check
new file mode 100644
index 000000000..bc0b5c996
--- /dev/null
+++ b/tests/untried/neg/null-unsoundness.check
@@ -0,0 +1,5 @@
+null-unsoundness.scala:8: error: stable identifier required, but A.this.x found.
+ Note that value x is not stable because its type, A.this.A with A.this.D, is volatile.
+ var y: x.T = new C("abc")
+ ^
+one error found