1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/AsmParser/directive_values.s
Kevin Enderby da3290e68c Added the first bits of the ARM target assembler to llvm-mc. For now it only
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
2009-09-15 00:27:25 +00:00

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