Move test in a specific folder

This commit is contained in:
Fabio Scotto di Santolo
2025-11-29 18:47:37 +01:00
parent c59b4004e5
commit 7eaf73e6fe
6 changed files with 0 additions and 0 deletions

16
example/section.c Normal file
View File

@@ -0,0 +1,16 @@
#include <stdio.h>
int var __attribute__((section("custom_data"))) = 1337;
__attribute__((section("custom_text")))
void custom()
{
printf("Hello from custom() in custom section!\n");
}
int main()
{
printf("var = %d\n", var);
custom();
return 0;
}