diff options
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t7292-deprecation.check | 12 | ||||
-rw-r--r-- | test/files/neg/t7292-removal.check | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/test/files/neg/t7292-deprecation.check b/test/files/neg/t7292-deprecation.check index c7e6111962..17f010dfdf 100644 --- a/test/files/neg/t7292-deprecation.check +++ b/test/files/neg/t7292-deprecation.check @@ -1,11 +1,11 @@ -t7292-deprecation.scala:2: warning: Octal escape literals are deprecated, use /u0000 instead. - val chr1 = '/0' +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: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' +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 diff --git a/test/files/neg/t7292-removal.check b/test/files/neg/t7292-removal.check index fffd0a1104..1cd59b0992 100644 --- a/test/files/neg/t7292-removal.check +++ b/test/files/neg/t7292-removal.check @@ -1,10 +1,10 @@ -t7292-removal.scala:2: error: Octal escape literals are unsupported, use /u0000 instead. - val chr1 = '/0' +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: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' +t7292-removal.scala:4: error: Octal escape literals are unsupported, use \n instead. + val lf = '\012' ^ three errors found |