1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-11 09:37:10 +00:00

Added some tests.

This commit is contained in:
Kugel Fuhr 2024-09-01 20:22:29 +02:00
parent b2aceaea24
commit cc0db26e20
6 changed files with 26 additions and 0 deletions

@ -0,0 +1 @@
foo:

@ -0,0 +1,13 @@
.macro IncludeFile FilePath
.proc bar
.include FilePath
.endproc
.endmacro
IncludeFile "070-include-macro.inc"
.ifdef bar::foo
.out "bar::foo is defined"
.else
.out "bar::foo is undefined"
.endif

@ -0,0 +1 @@
.out "include file"

@ -0,0 +1,4 @@
.repeat 3
.include "070-include-repeat.inc"
.out "main file"
.endrepeat

@ -0,0 +1 @@
bar::foo is defined

@ -0,0 +1,6 @@
include file
main file
include file
main file
include file
main file