Home | History | Annotate | Download | only in AsmParser
      1 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
      2 
      3         .data
      4 # CHECK: TEST0:
      5 TEST0:
      6         .ascii
      7 
      8 # CHECK: TEST1:
      9 TEST1:
     10         .asciz
     11 
     12 # CHECK: TEST2:
     13 # CHECK: .byte 65
     14 TEST2:
     15         .ascii "A"
     16 
     17 # CHECK: TEST3:
     18 # CHECK: .byte 66
     19 # CHECK: .byte 0
     20 # CHECK: .byte 67
     21 # CHECK: .byte 0
     22 TEST3:
     23         .asciz "B", "C"
     24 
     25 # CHECK: TEST4:
     26 # CHECK: .asciz "\001\001\007\0008\001\0001\200"
     27 TEST4:
     28         .ascii "\1\01\07\08\001\0001\200\0"
     29 
     30 # CHECK: TEST5:
     31 # CHECK: .ascii "\b\f\n\r\t\\\""
     32 TEST5:
     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
     40 TEST6:
     41         .string "B", "C"
     42