aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t4098.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t4098.check')
-rw-r--r--tests/untried/neg/t4098.check13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/untried/neg/t4098.check b/tests/untried/neg/t4098.check
new file mode 100644
index 000000000..232c082ec
--- /dev/null
+++ b/tests/untried/neg/t4098.check
@@ -0,0 +1,13 @@
+t4098.scala:3: error: forward reference not allowed from self constructor invocation
+ this(b)
+ ^
+t4098.scala:8: error: forward reference not allowed from self constructor invocation
+ this(b)
+ ^
+t4098.scala:13: error: forward reference not allowed from self constructor invocation
+ this(b)
+ ^
+t4098.scala:18: error: forward reference not allowed from self constructor invocation
+ this(b)
+ ^
+four errors found