summaryrefslogtreecommitdiff
path: root/test/nasmformat.asm
blob: ea19b923ed4e52fbe2f8898b93227b7d06ddf578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;Testname=obj; Arguments=-fobj -onasmfomat.o; Files=stdout stderr nasmfomat.o
;Testname=bin; Arguments=-fbin -onasmfomat.o; Files=stdout stderr nasmfomat.o
;Testname=rdf; Arguments=-frdf -onasmfomat.o; Files=stdout stderr nasmfomat.o

%if __OUTPUT_FORMAT__ == 'bin'

db 'This is binary format file'

%elif __OUTPUT_FORMAT__ == 'obj'

db 'This is object format file'

%else

db 'This is some other format file'

%endif