From 25363ae00afad1f7d8c545bf884d655516d39cd5 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sun, 30 Jan 2022 23:26:07 +0100 Subject: [PATCH] the forgotten minimal testprog --- targettest/minimal.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 targettest/minimal.c diff --git a/targettest/minimal.c b/targettest/minimal.c new file mode 100644 index 000000000..65ec37a97 --- /dev/null +++ b/targettest/minimal.c @@ -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 */ +}