mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 06:47:48 +00:00
Test RGBLINK on SDCC object files (#1479)
This commit is contained in:
11
test/link/sdcc/good/b.c
Normal file
11
test/link/sdcc/good/b.c
Normal file
@@ -0,0 +1,11 @@
|
||||
// sdcc -c -msm83 -o b.rel b.c
|
||||
|
||||
#ifdef __SDCC_sm83
|
||||
const int sm83 = 1;
|
||||
#else
|
||||
const int sm83 = 0;
|
||||
#endif
|
||||
|
||||
int function0(int de) {
|
||||
return de | sm83;
|
||||
}
|
||||
Reference in New Issue
Block a user