mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
ca9c42c4da
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81817 91177308-0d34-0410-b5e6-96231b3b80d8
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
|