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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98dec20e19c9468f1f4e37f60425328d686e4654;p=llvm [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374124 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/AsmParser/directive_ascii.s b/test/MC/AsmParser/directive_ascii.s index 604f9721bcc..ea988879819 100644 --- a/test/MC/AsmParser/directive_ascii.s +++ b/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"