1# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3        .data
4# CHECK: TEST0:
5TEST0:
6        .ascii
7
8# CHECK: TEST1:
9TEST1:
10        .asciz
11
12# CHECK: TEST2:
13# CHECK: .byte 65
14TEST2:
15        .ascii "A"
16
17# CHECK: TEST3:
18# CHECK: .byte 66
19# CHECK: .byte 0
20# CHECK: .byte 67
21# CHECK: .byte 0
22TEST3:
23        .asciz "B", "C"
24
25# CHECK: TEST4:
26# CHECK: .asciz "\001\001\007\0008\001\0001\200"
27TEST4:
28        .ascii "\1\01\07\08\001\0001\200\0"
29
30# CHECK: TEST5:
31# CHECK: .ascii "\b\f\n\r\t\\\""
32TEST5:
33        .ascii "\b\f\n\r\t\\\""
34
35# CHECK: TEST6:
36# CHECK: .byte 66
37# CHECK: .byte 0
38# CHECK: .byte 67
39# CHECK: .byte 0
40TEST6:
41        .string "B", "C"
42
43# CHECK: TEST7:
44# CHECK: .ascii "dk"
45#  0xFACE & 0xFF == 0xCE == 0o316
46#  0x0FE  & 0xFF == 0xFE == 0o376
47# CHECK: .ascii "\316\376"
48TEST7:
49        .ascii "\x64\Xa6B"
50        .ascii "\xface\x0Fe"
51