llvm-mirror/test/MC/AsmParser/directive_space.s
Petr Hosek 0178571895 [MC] Support symbolic expressions in assembly directives
This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.

Differential Revision: http://reviews.llvm.org/D20752

llvm-svn: 271102
2016-05-28 05:57:48 +00:00

22 lines
324 B
ArmAsm

# RUN: llvm-mc -triple i386-apple-darwin %s | FileCheck %s
# CHECK: TEST0:
# CHECK: .space 1
TEST0:
.space 1
# CHECK: TEST1:
# CHECK: .space 2,3
TEST1:
.space 2, 3
# CHECK: TEST2:
# CHECK: .space 1
TEST2:
.skip 1
# CHECK: TEST3
# CHECK: .space TEST0-TEST1
TEST3:
.space TEST0 - TEST1