summaryrefslogtreecommitdiff
path: root/test/files/neg/t7292-deprecation.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t7292-deprecation.check')
-rw-r--r--test/files/neg/t7292-deprecation.check12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/t7292-deprecation.check b/test/files/neg/t7292-deprecation.check
new file mode 100644
index 0000000000..c7e6111962
--- /dev/null
+++ b/test/files/neg/t7292-deprecation.check
@@ -0,0 +1,12 @@
+t7292-deprecation.scala:2: warning: Octal escape literals are deprecated, use /u0000 instead.
+ val chr1 = '/0'
+ ^
+t7292-deprecation.scala:3: warning: Octal escape literals are deprecated, use /u0053 instead.
+ val str1 = "abc/123456"
+ ^
+t7292-deprecation.scala:4: warning: Octal escape literals are deprecated, use /n instead.
+ val lf = '/012'
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+three warnings found
+one error found