summaryrefslogtreecommitdiff
path: root/test/files/neg/abstraction-from-volatile-type-error.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/abstraction-from-volatile-type-error.check')
-rw-r--r--test/files/neg/abstraction-from-volatile-type-error.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/abstraction-from-volatile-type-error.check b/test/files/neg/abstraction-from-volatile-type-error.check
new file mode 100644
index 0000000000..34ba0551a5
--- /dev/null
+++ b/test/files/neg/abstraction-from-volatile-type-error.check
@@ -0,0 +1,4 @@
+abstraction-from-volatile-type-error.scala:9: error: illegal abstraction from value with volatile type a.Tv
+ val tv : a.Tv
+ ^
+one error found