mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
20 lines
358 B
NASM
20 lines
358 B
NASM
|
;Testname=noerror; Arguments=-fbin -obr2222615.bin; Files=stdout stderr br2222615.bin
|
||
|
;Testname=error; Arguments=-DERROR -fbin -obr2222615.bin; Files=stdout stderr br2222615.bin
|
||
|
|
||
|
%macro bluttan 0
|
||
|
nop
|
||
|
%endmacro
|
||
|
|
||
|
%ifnmacro bluttan
|
||
|
%error "bluttan is a macro"
|
||
|
%endif
|
||
|
|
||
|
%ifmacro blej
|
||
|
%error "blej is not a macro"
|
||
|
%endif
|
||
|
|
||
|
%ifdef ERROR
|
||
|
%ifnmacro
|
||
|
%endif
|
||
|
%endif
|