summaryrefslogtreecommitdiff
path: root/test/files/neg/t412.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t412.check')
-rw-r--r--test/files/neg/t412.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t412.check b/test/files/neg/t412.check
new file mode 100644
index 0000000000..9cb467e854
--- /dev/null
+++ b/test/files/neg/t412.check
@@ -0,0 +1,5 @@
+t412.scala:11: error: stable identifier required, but A.this.c found.
+ Note that value c is not stable because its type, A.this.CX with A.this.C2, is volatile.
+ def castA(x: c.T): T2 = x;
+ ^
+one error found