1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err > %t
2 // RUN: FileCheck --check-prefix=CHECK-OUTPUT < %t %s
3 // RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s
5 .macro test_macro reg1, reg2
11 // CHECK-ERROR: 5:1: warning: macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect
13 // CHECK-OUTPUT: movl $1, %eax
14 // CHECK-OUTPUT: movl $2, %eax