add test for pre-processor replacing strings

This commit is contained in:
Andre Fachat 2019-10-31 22:15:13 +01:00
parent 6b85ae268c
commit 413d7f194b
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,6 @@
default:
../../xa test.s -o test.o
../hextool -cmp=ok < test.o
clean:
rm -f *.o

BIN
xa/tests/ppstrings/ok Normal file

Binary file not shown.

15
xa/tests/ppstrings/test.s Normal file
View File

@ -0,0 +1,15 @@
#define DUP 123
.asc "DUP^@"
.asc '0DUP^@'
.asc "D","UP^@"
.asc "DUP
.asc "DU0
.asc "DU