mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
da3290e68c
parses the .word directive as 4 bytes and ARMAsmParser::ParseInstruction will give an error is called. Broke out the test of the .word directive into two different test cases, one for x86 and one for arm. llvm-svn: 81817
22 lines
300 B
ArmAsm
22 lines
300 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
# CHECK: TEST0:
|
|
# CHECK: .byte 0
|
|
TEST0:
|
|
.byte 0
|
|
|
|
# CHECK: TEST1:
|
|
# CHECK: .short 3
|
|
TEST1:
|
|
.short 3
|
|
|
|
# CHECK: TEST2:
|
|
# CHECK: .long 8
|
|
TEST2:
|
|
.long 8
|
|
|
|
# CHECK: TEST3:
|
|
# CHECK: .quad 9
|
|
TEST3:
|
|
.quad 9
|