diff options
Diffstat (limited to 'testsuite/tests/lexing/uchar_esc.ocaml.reference')
-rw-r--r-- | testsuite/tests/lexing/uchar_esc.ocaml.reference | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/lexing/uchar_esc.ocaml.reference b/testsuite/tests/lexing/uchar_esc.ocaml.reference index d16cae72df..c4133193d4 100644 --- a/testsuite/tests/lexing/uchar_esc.ocaml.reference +++ b/testsuite/tests/lexing/uchar_esc.ocaml.reference @@ -29,6 +29,7 @@ Warning 14 [illegal-backslash]: illegal backslash escape in string. Hint: Single backslashes \ are reserved for escape sequences (\n, \r, ...). Did you check the list of OCaml escape sequences? To get a backslash character, escape it with a second backslash: \\. + val no_hex_digits : string = "\\u{}" Line 1, characters 25-27: 1 | let illegal_hex_digit = "\u{u}" ;; @@ -37,5 +38,6 @@ Warning 14 [illegal-backslash]: illegal backslash escape in string. Hint: Single backslashes \ are reserved for escape sequences (\n, \r, ...). Did you check the list of OCaml escape sequences? To get a backslash character, escape it with a second backslash: \\. + val illegal_hex_digit : string = "\\u{u}" |