summaryrefslogblamecommitdiff
path: root/test/files/neg/t7292-deprecation.check
blob: 17f010dfdf334810d62e128b5c52e361a70a0625 (plain) (tree)
1
2
3
4
5
6
7
8

                                                                                             
               

                                                                                             
                  

                                                                                         



                                                          
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