llvm/test/MC/AsmParser/directive_values.s
Daniel Dunbar a0d1426af0 Basic .s parsing for .asci[iz], .fill, .space, {.byte, .short, ... }
- Includes some DG tests in test/MC/AsmParser, which are rather primitive since
   we don't have a -verify mode yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74139 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-24 23:30:00 +00:00

22 lines
401 B
ArmAsm

# RUN: llvm-mc %s > %t
# RUN: grep -A 2 TEST0 %t > %t2
# RUN: grep ".byte 0" %t2 | count 1
TEST0:
.byte 0
# RUN: grep -A 2 TEST1 %t > %t2
# RUN: grep ".short 3" %t2 | count 1
TEST1:
.short 3
# RUN: grep -A 2 TEST2 %t > %t2
# RUN: grep ".long 8" %t2 | count 1
TEST2:
.long 8
# RUN: grep -A 2 TEST3 %t > %t2
# RUN: grep ".quad 9" %t2 | count 1
TEST3:
.quad 9