Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-ml / macro_errors.asm
blob943ff41866b6e0945c52d58f316bbcb78db41e53
1 ; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
3 .code
5 ; CHECK: error: Vararg parameter 'param' should be last in the list of parameters
6 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition
7 early_vararg_macro MACRO param:vararg, trailing_param
8 ENDM
10 ; CHECK: error: macro 'colliding_parameters_macro' has multiple parameters named 'paRAM'
11 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition
12 colliding_parameters_macro MACRO Param, paRAM
13 ENDM
15 ; CHECK: error: missing parameter qualifier for 'param' in macro 'missing_qualifier_macro'
16 ; CHECK: error: unexpected 'ENDM' in file, no current macro definition
17 missing_qualifier_macro MACRO param:
18 ENDM
21 ; CHECK: error: no matching 'endm' in definition
22 missing_end_macro MACRO
24 end