Test RGBLINK on SDCC object files (#1479)

This commit is contained in:
Sylvie
2024-08-20 17:51:01 -04:00
committed by GitHub
parent 57c3d74b9e
commit 82e81ab1da
14 changed files with 166 additions and 0 deletions

11
test/link/sdcc/good/b.c Normal file
View 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;
}