/* * Compile-only proof that a genuinely freestanding consumer (-nostdinc * -ffreestanding, no libc) can include the generated header under * AKERR_USE_STDLIB=OFF. Never linked or run -- see .gitea/workflows/ci.yaml. */ #define AKERR_USE_STDLIB 0 #define AKERR_RUNTIME_HEADER "freestanding_fixture_runtime.h" #include "akerror.h" akerr_ErrorContext *akerr_freestanding_fixture_example(void) { PREPARE_ERROR(e); FAIL_RETURN(e, AKERR_VALUE, "freestanding fixture example error"); }