examples/tests

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-08-23 13:50:26 +02:00
padre 953c3ad48d
commit 36bee15ae6
Se han modificado 89 ficheros con 1286 adiciones y 0 borrados

16
examples/tests/debug_if_only.c Archivo normal
Ver fichero

@@ -0,0 +1,16 @@
#include <stdio.h>
int debug_if_only(int n) {
if (n > 0) {
printf("In if branch\n");
return n + 1;
}
return 0;
}
int main() {
printf("Testing if-only...\n");
int result = debug_if_only(5);
printf("Result = %d\n", result);
return 0;
}