repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
preproc.c: Make %substr robust
[nasm.git]
/
test
/
br2222615.asm
blob
7acef6c86fc1cbcb1f2a50ef5bb1726e77c11260
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
3
4
%
macro
bluttan
0
5
nop
6
%
endmacro
7
8
%
ifnmacro bluttan
9
%
error
"bluttan is a macro"
10
%
endif
11
12
%
ifmacro blej
13
%
error
"blej is not a macro"
14
%
endif
15
16
%
ifdef ERROR
17
%
ifnmacro
18
%
endif
19
%
endif