mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
a0d1426af0
- 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
25 lines
474 B
ArmAsm
25 lines
474 B
ArmAsm
# RUN: llvm-mc %s > %t
|
|
|
|
# RUN: grep -A 1 TEST0 %t > %t2
|
|
# RUN: not grep ".byte" %t2
|
|
TEST0:
|
|
.ascii
|
|
|
|
# RUN: grep -A 1 TEST1 %t > %t2
|
|
# RUN: not grep "byte" %t2
|
|
TEST1:
|
|
.asciz
|
|
|
|
# RUN: grep -A 2 TEST2 %t > %t2
|
|
# RUN: grep ".byte 65" %t2 | count 1
|
|
TEST2:
|
|
.ascii "A"
|
|
|
|
# RUN: grep -A 5 TEST3 %t > %t2
|
|
# RUN: grep ".byte 66" %t2 | count 1
|
|
# RUN: grep ".byte 67" %t2 | count 1
|
|
# RUN: grep ".byte 0" %t2 | count 2
|
|
TEST3:
|
|
.asciz "B", "C"
|
|
|
|
|