mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add test for DEF(@)
This commit is contained in:
5
test/asm/pc-def.asm
Normal file
5
test/asm/pc-def.asm
Normal file
@@ -0,0 +1,5 @@
|
||||
IF DEF(@)
|
||||
PRINTT "defined\n"
|
||||
ELSE
|
||||
PRINTT "not defined\n"
|
||||
ENDC
|
||||
2
test/asm/pc-def.err
Normal file
2
test/asm/pc-def.err
Normal file
@@ -0,0 +1,2 @@
|
||||
ERROR: pc-def.asm(1):
|
||||
'@' is not allowed as argument to the DEF function
|
||||
0
test/asm/pc-def.out
Normal file
0
test/asm/pc-def.out
Normal file
Reference in New Issue
Block a user