1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/MC/AsmParser/macros-darwin.s
Preston Gurd 79d6f55f89 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.

llvm-svn: 164248
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