Files
rgbds/test/asm/crlf.asm
T
Rangi 996469ee28 Ensure CRLF line endings are preserved when necessary
Some test cases need CRLF line endings checked out even on Unix.
Also some source files had inadvertently contained CR bytes.
2026-05-25 22:00:45 -04:00

23 lines
323 B
NASM

; This file is encoded with DOS CR+LF line endings!
DEF s EQUS "Hello, \
world!"
assert !strcmp("{s}", "Hello, world!")
/*
* block comment
*/
REPT 2
REDEF t EQUS """Hello,
world!"""
assert !strcmp("{t}", "Hello,\nworld!")
ENDR
MACRO m
assert "\1" === "Hello, world!"
ENDM
m Hello\, \
world!