aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7292-removal.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t7292-removal.check')
-rw-r--r--tests/untried/neg/t7292-removal.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/neg/t7292-removal.check b/tests/untried/neg/t7292-removal.check
new file mode 100644
index 000000000..1cd59b099
--- /dev/null
+++ b/tests/untried/neg/t7292-removal.check
@@ -0,0 +1,10 @@
+t7292-removal.scala:2: error: Octal escape literals are unsupported, use \u0000 instead.
+ val chr1 = '\0'
+ ^
+t7292-removal.scala:3: error: Octal escape literals are unsupported, use \u0053 instead.
+ val str1 = "abc\123456"
+ ^
+t7292-removal.scala:4: error: Octal escape literals are unsupported, use \n instead.
+ val lf = '\012'
+ ^
+three errors found