1 # RUN: not llvm-mc -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --match-full-lines --strict-whitespace
3 # CHECK:{{.*}}.s:[[#@LINE+3]]:21: error: vararg parameter 'a' should be the last parameter
4 # CHECK-NEXT:.macro two a:vararg b:vararg
6 .macro two a:vararg b:vararg
8 # CHECK:{{.*}}.s:[[#@LINE+3]]:17: error: expected identifier in '.macro' directive
9 # CHECK-NEXT:.macro one a:req:vararg
11 .macro one a:req:vararg
13 # CHECK-NEXT:{{.*}}.s:[[#@LINE+3]]:32: warning: pointless default value for required parameter 'a' in macro 'pointless_default'
14 # CHECK-NEXT:.macro pointless_default a:req=default
16 .macro pointless_default a:req=default