llvm-6502/test/MC/AsmParser/macros-darwin-vararg.s
Stepan Dyatkovskiy 8c5b3146ed Integrated assbemler, macros: added 'vararg' argument qualifier support.
Note, currently we have no 'vararg' support for darwin macros.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206951 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-23 06:56:28 +00:00

9 lines
226 B
ArmAsm

// RUN: not llvm-mc -triple i386-apple-darwin10 %s 2>&1 | FileCheck %s
// CHECK: error: vararg is not a valid parameter qualifier for 'arg' in macro 'abc'
// CHECK: .macro abc arg:vararg
.macro abc arg:vararg
\arg
.endm