1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -triple x86_64-linux-gnu %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker.macro abc arg:vararg=nop 3*9880d681SAndroid Build Coastguard Worker \arg 4*9880d681SAndroid Build Coastguard Worker.endm 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker.macro abcd arg0=%eax arg1:vararg=%ebx 7*9880d681SAndroid Build Coastguard Worker movl \arg0, \arg1 8*9880d681SAndroid Build Coastguard Worker.endm 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker.text 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker// CHECK: nop 13*9880d681SAndroid Build Coastguard Worker abc 14*9880d681SAndroid Build Coastguard Worker// CHECK: movl %eax, %ebx 15*9880d681SAndroid Build Coastguard Worker abcd , 16