mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
8c5b3146ed
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
16 lines
227 B
ArmAsm
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 ,
|