preproc.c: Make %substr robust
[nasm.git] / test / br2222615.asm
blob7acef6c86fc1cbcb1f2a50ef5bb1726e77c11260
1 ;Testname=noerror; Arguments=-fbin -obr2222615.bin; Files=stdout stderr br2222615.bin
2 ;Testname=error; Arguments=-DERROR -fbin -obr2222615.bin; Files=stdout stderr br2222615.bin
4 %macro bluttan 0
5 nop
6 %endmacro
8 %ifnmacro bluttan
9 %error "bluttan is a macro"
10 %endif
12 %ifmacro blej
13 %error "blej is not a macro"
14 %endif
16 %ifdef ERROR
17 %ifnmacro
18 %endif
19 %endif