From: Bill Wendling Date: Tue, 8 Oct 2019 22:06:09 +0000 (+0000) Subject: [IA] Add tests for a few other edge cases X-Git-Tag: llvmorg-11-init~7141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d69ca8c67c90fcf9f4e7aeeb0d0c48307dd1168;p=platform%2Fupstream%2Fllvm.git [IA] Add tests for a few other edge cases Test with the last eight bits within the range [7F, FF] and with lower-case hex letters. llvm-svn: 374124 --- diff --git a/llvm/test/MC/AsmParser/directive_ascii.s b/llvm/test/MC/AsmParser/directive_ascii.s index 604f972..ea98887 100644 --- a/llvm/test/MC/AsmParser/directive_ascii.s +++ b/llvm/test/MC/AsmParser/directive_ascii.s @@ -42,5 +42,9 @@ TEST6: # CHECK: TEST7: # CHECK: .ascii "dk" +# 0xFACE & 0xFF == 0xCE == 0o316 +# 0x0FE & 0xFF == 0xFE == 0o376 +# CHECK: .ascii "\316\376" TEST7: .ascii "\x64\Xa6B" + .ascii "\xface\x0Fe"