mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
the forgotten minimal testprog
This commit is contained in:
parent
afc80949e3
commit
f1e70517ec
13
targettest/minimal.c
Normal file
13
targettest/minimal.c
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
/* this is a minimal / empty c program, any supported target that has some
|
||||||
|
* sort of C support should be able to link this. Failure indicates a problem
|
||||||
|
* with the crt0 or the linker config of the respective target */
|
||||||
|
|
||||||
|
char bss_variable;
|
||||||
|
char data_variable = 42;
|
||||||
|
const char rodata_variable = 23;
|
||||||
|
|
||||||
|
void main(void)
|
||||||
|
{
|
||||||
|
/* nothing here */
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user