aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t0899.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t0899.check')
-rw-r--r--tests/untried/neg/t0899.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/neg/t0899.check b/tests/untried/neg/t0899.check
new file mode 100644
index 000000000..8b71be8e0
--- /dev/null
+++ b/tests/untried/neg/t0899.check
@@ -0,0 +1,10 @@
+t0899.scala:9: error: super may be not be used on value o
+ override val o = "Ha! " + super.o
+ ^
+t0899.scala:11: error: super may be not be used on variable v
+ super.v = "aa"
+ ^
+t0899.scala:12: error: super may be not be used on variable v
+ println(super.v)
+ ^
+three errors found