1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/AsmParser/vararg-default-value.s
Stepan Dyatkovskiy 70097dbad7 Integrated assbemler, macros: added 'vararg' argument qualifier support.
Note, currently we have no 'vararg' support for darwin macros.

llvm-svn: 206951
2014-04-23 06:56:28 +00:00

16 lines
227 B
ArmAsm

// RUN: llvm-mc -triple x86_64-linux-gnu %s | FileCheck %s
.macro abc arg:vararg=nop
\arg
.endm
.macro abcd arg0=%eax arg1:vararg=%ebx
movl \arg0, \arg1
.endm
.text
// CHECK: nop
abc
// CHECK: movl %eax, %ebx
abcd ,