Debian Codegraph @

tests/test_cmake_subdir/test_parent.c

raw
1 /*
2 * Minimal consumer that includes abpoa.h and uses the library API.
3 * Used to verify add_subdirectory() integration works correctly.
4 */
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include "abpoa.h"
8
9 int main(void) {
10 abpoa_t *ab = abpoa_init();
11 if (ab == NULL) return 1;
12 abpoa_free(ab);
13 printf("PASS: add_subdirectory consumer works\n");
14 return 0;
15 }