llvm-for-llvmta/test/MC/AsmParser/vararg-default-value.s

16 lines
227 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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 ,