diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2010-12-18 08:56:37 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2010-12-18 08:56:37 +0000 |
commit | 7529b164104f802b59fbf96f5a88d9709ac3ff1a (patch) | |
tree | 697242b1336763503af572cb2907c4f8e4fadf7e /test/MC/AsmParser | |
parent | fffa8635361639acadb78089c5b9b445c0aa1d30 (diff) | |
download | external_llvm-7529b164104f802b59fbf96f5a88d9709ac3ff1a.zip external_llvm-7529b164104f802b59fbf96f5a88d9709ac3ff1a.tar.gz external_llvm-7529b164104f802b59fbf96f5a88d9709ac3ff1a.tar.bz2 |
Add support for lexing single quotes like 'c'.
This fixed 8615.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r-- | test/MC/AsmParser/directive_values.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_values.s b/test/MC/AsmParser/directive_values.s index c222a30..98259bd 100644 --- a/test/MC/AsmParser/directive_values.s +++ b/test/MC/AsmParser/directive_values.s @@ -40,3 +40,19 @@ TEST5: .value 8 # CHECK: TEST5: # CHECK: .short 8 + +TEST6: + .byte 'c' + .byte '\'' + .byte '\\' + .byte '\#' + .byte '\t' + .byte '\n' + +# CHECK: TEST6 +# CHECK: .byte 99 +# CHECK: .byte 39 +# CHECK: .byte 92 +# CHECK: .byte 35 +# CHECK: .byte 9 +# CHECK: .byte 10 |