2009-07-17 22:38:58 +00:00
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
2009-06-24 23:30:00 +00:00
|
|
|
|
2009-08-14 18:19:52 +00:00
|
|
|
.data
|
2009-07-08 20:40:54 +00:00
|
|
|
# CHECK: TEST0:
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST0:
|
|
|
|
.ascii
|
|
|
|
|
2009-07-08 20:40:54 +00:00
|
|
|
# CHECK: TEST1:
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST1:
|
|
|
|
.asciz
|
|
|
|
|
2009-07-08 20:40:54 +00:00
|
|
|
# CHECK: TEST2:
|
|
|
|
# CHECK: .byte 65
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST2:
|
|
|
|
.ascii "A"
|
|
|
|
|
2009-07-08 20:40:54 +00:00
|
|
|
# CHECK: TEST3:
|
|
|
|
# CHECK: .byte 66
|
|
|
|
# CHECK: .byte 0
|
|
|
|
# CHECK: .byte 67
|
|
|
|
# CHECK: .byte 0
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST3:
|
|
|
|
.asciz "B", "C"
|
2009-08-14 18:19:52 +00:00
|
|
|
|
|
|
|
# CHECK: TEST4:
|
|
|
|
# CHECK: .byte 1
|
|
|
|
# CHECK: .byte 1
|
|
|
|
# CHECK: .byte 7
|
|
|
|
# CHECK: .byte 0
|
|
|
|
# CHECK: .byte 56
|
|
|
|
# CHECK: .byte 1
|
|
|
|
# CHECK: .byte 0
|
|
|
|
# CHECK: .byte 49
|
2009-08-14 19:59:24 +00:00
|
|
|
# CHECK: .byte 128
|
2009-08-14 18:19:52 +00:00
|
|
|
# CHECK: .byte 0
|
|
|
|
TEST4:
|
2009-08-14 19:59:24 +00:00
|
|
|
.ascii "\1\01\07\08\001\0001\200\0"
|
2009-08-14 18:19:52 +00:00
|
|
|
|
|
|
|
# CHECK: TEST5:
|
|
|
|
# CHECK: .byte 8
|
|
|
|
# CHECK: .byte 12
|
|
|
|
# CHECK: .byte 10
|
|
|
|
# CHECK: .byte 13
|
|
|
|
# CHECK: .byte 9
|
|
|
|
# CHECK: .byte 92
|
|
|
|
# CHECK: .byte 34
|
|
|
|
TEST5:
|
|
|
|
.ascii "\b\f\n\r\t\\\""
|
|
|
|
|