llvm-6502/test/MC/AsmParser/macros-darwin.s
Preston Gurd 7b6f2034ac Add support for macro parameters/arguments delimited by spaces,
to improve compatibility with GNU as.

Based on a patch by PaX Team.

Fixed assertion failures on non-Darwin and added additional test cases.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164248 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-19 20:36:12 +00:00

10 lines
170 B
ArmAsm

// RUN: not llvm-mc -triple i386-apple-darwin10 %s 2> %t.err | FileCheck %s
.macro test1
.globl "$0 $1 $2 $$3 $n"
.endmacro
// CHECK: .globl "1 23 $3 2"
test1 1, 2 3