summaryrefslogtreecommitdiff
path: root/test/files/neg/t1909b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t1909b.check')
-rw-r--r--test/files/neg/t1909b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t1909b.check b/test/files/neg/t1909b.check
new file mode 100644
index 0000000000..9a683643ae
--- /dev/null
+++ b/test/files/neg/t1909b.check
@@ -0,0 +1,4 @@
+t1909b.scala:4: error: this can be used only in a class, object, or template
+ def bar() = this.z + 5
+ ^
+one error found