mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 04:22:07 +00:00
Add more tests for RGBASM coverage
This commit is contained in:
14
test/asm/warning-as-error.asm
Normal file
14
test/asm/warning-as-error.asm
Normal file
@@ -0,0 +1,14 @@
|
||||
DEF n = -99 >> 1 ; -Wshift
|
||||
DEF n = 999_999_999_999 ; -Wlarge-constant
|
||||
|
||||
MACRO test
|
||||
WARN "warning or error?"
|
||||
ENDM
|
||||
|
||||
test
|
||||
|
||||
OPT Werror
|
||||
test
|
||||
|
||||
OPT Wno-error
|
||||
test
|
||||
Reference in New Issue
Block a user