1
0
mirror of https://github.com/cc65/cc65.git synced 2024-05-28 16:41:40 +00:00
cc65/targettest/minimal.c

14 lines
342 B
C
Raw Normal View History

2022-04-17 14:07:20 +00:00
2022-01-30 22:26:07 +00:00
/* 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 */
}