rust/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
Aleksey Kladov 5ba4f949c2 Kill RAW_ literals
Syntactically, they are indistinguishable from non-raw versions, so it
doesn't make sense to separate then *at the syntax* level.
2020-11-06 22:23:14 +01:00

23 lines
412 B
Plaintext

BYTE 3 "b\'\'"
WHITESPACE 1 " "
BYTE 4 "b\'x\'"
WHITESPACE 1 " "
BYTE_STRING 6 "b\"foo\""
WHITESPACE 1 " "
BYTE_STRING 4 "br\"\""
WHITESPACE 1 "\n"
BYTE 6 "b\'\'suf"
WHITESPACE 1 " "
BYTE_STRING 5 "b\"\"ix"
WHITESPACE 1 " "
BYTE_STRING 6 "br\"\"br"
WHITESPACE 1 "\n"
BYTE 5 "b\'\\n\'"
WHITESPACE 1 " "
BYTE 5 "b\'\\\\\'"
WHITESPACE 1 " "
BYTE 5 "b\'\\\'\'"
WHITESPACE 1 " "
BYTE 8 "b\'hello\'"
WHITESPACE 1 "\n"