[IA] Add tests for a few other edge cases
authorBill Wendling <isanbard@gmail.com>
Tue, 8 Oct 2019 22:06:09 +0000 (22:06 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 8 Oct 2019 22:06:09 +0000 (22:06 +0000)
Test with the last eight bits within the range [7F, FF] and with
lower-case hex letters.

llvm-svn: 374124

llvm/test/MC/AsmParser/directive_ascii.s

index 604f972..ea98887 100644 (file)
@@ -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"