1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/targettest/minimal.c
2022-07-21 03:13:10 +02:00

14 lines
343 B
C

/* 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 */
}