1 ;Testname=test; Arguments=-fbin -oifmacro.txt; Files=stdout stderr ifmacro.txt
6 ; Test of the new ifmacro directive
8 ; This file produces a human-readable text file when compiled
15 db 'This is a dummy macro, '
16 db 'arg1 = ', %1, ', '
31 db '%ifmacro dummy 1', LF
35 db '%ifmacro dummy 2', LF
39 db '%ifmacro dummy 3', LF
43 db '%ifmacro dummy 1+', LF
47 db '%ifmacro dummy 2+', LF
51 db '%ifmacro dummy 3+', LF
55 db '%ifmacro dummy', LF
59 db '%ifmacro dummy 0-1', LF
63 db '%ifmacro dummy 1-2', LF
67 db '%ifmacro dummy 2-3', LF
71 db '%ifmacro dummy 3-4', LF
87 db '%ifnmacro dummy 1', LF
91 db '%ifnmacro dummy 2', LF
95 db '%ifnmacro dummy 3', LF
99 db '%ifnmacro dummy 1+', LF
103 db '%ifnmacro dummy 2+', LF
107 db '%ifnmacro dummy 3+', LF
111 db '%ifnmacro dummy', LF
115 db '%ifnmacro dummy 0-1', LF
119 db '%ifnmacro dummy 1-2', LF
123 db '%ifnmacro dummy 2-3', LF
127 db '%ifnmacro dummy 3-4', LF
131 db '%ifnmacro LF', LF
146 db '%elifmacro dummy 1', LF
151 db '%elifmacro dummy 2', LF
156 db '%elifmacro dummy 3', LF
161 db '%elifmacro dummy 1+', LF
166 db '%elifmacro dummy 2+', LF
171 db '%elifmacro dummy 3+', LF
176 db '%elifmacro dummy', LF
181 db '%elifmacro dummy 0-1', LF
186 db '%elifmacro dummy 1-2', LF
191 db '%elifmacro dummy 2-3', LF
196 db '%elifmacro dummy 3-4', LF
201 db '%elifmacro LF', LF
206 db '%elifndef CR', LF
211 db '%elifndef LF', LF
216 db '%elifnmacro dummy 1', LF
221 db '%elifnmacro dummy 2', LF
226 db '%elifnmacro dummy 3', LF
231 db '%elifnmacro dummy 1+', LF
236 db '%elifnmacro dummy 2+', LF
241 db '%elifnmacro dummy 3+', LF
246 db '%elifnmacro dummy', LF
250 %elifnmacro dummy
0-1
251 db '%elifnmacro dummy 0-1', LF
255 %elifnmacro dummy
1-2
256 db '%elifnmacro dummy 1-2', LF
260 %elifnmacro dummy
2-3
261 db '%elifnmacro dummy 2-3', LF
265 %elifnmacro dummy
3-4
266 db '%elifnmacro dummy 3-4', LF
271 db '%elifnmacro LF', LF
276 db 'bad %elifdef CR', LF
281 db 'bad %elifdef LF', LF
286 db 'bad %elifmacro dummy 1', LF
291 db 'bad %elifmacro dummy 2', LF
296 db 'bad %elifmacro dummy 3', LF
301 db 'bad %elifmacro dummy 1+', LF
306 db 'bad %elifmacro dummy 2+', LF
311 db 'bad %elifmacro dummy 3+', LF
316 db 'bad %elifmacro dummy', LF
321 db 'bad %elifmacro dummy 0-1', LF
326 db 'bad %elifmacro dummy 1-2', LF
331 db 'bad %elifmacro dummy 2-3', LF
336 db 'bad %elifmacro dummy 3-4', LF
341 db 'bad %elifmacro LF', LF
346 db 'bad %elifndef CR', LF
351 db 'bad %elifndef LF', LF
356 db 'bad %elifnmacro dummy 1', LF
361 db 'bad %elifnmacro dummy 2', LF
366 db 'bad %elifnmacro dummy 3', LF
371 db 'bad %elifnmacro dummy 1+', LF
376 db 'bad %elifnmacro dummy 2+', LF
381 db 'bad %elifnmacro dummy 3+', LF
386 db 'bad %elifnmacro dummy', LF
390 %elifnmacro dummy
0-1
391 db 'bad %elifnmacro dummy 0-1', LF
395 %elifnmacro dummy
1-2
396 db 'bad %elifnmacro dummy 1-2', LF
400 %elifnmacro dummy
2-3
401 db 'bad %elifnmacro dummy 2-3', LF
405 %elifnmacro dummy
3-4
406 db 'bad %elifnmacro dummy 3-4', LF
411 db 'bad %elifnmacro LF', LF