diff options
Diffstat (limited to 'tests/untried/neg/t1909b.check')
-rw-r--r-- | tests/untried/neg/t1909b.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t1909b.check b/tests/untried/neg/t1909b.check new file mode 100644 index 000000000..9a683643a --- /dev/null +++ b/tests/untried/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 |