diff options
Diffstat (limited to 'libs/incident/tests/c_api_compile_test.c')
-rw-r--r-- | libs/incident/tests/c_api_compile_test.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/incident/tests/c_api_compile_test.c b/libs/incident/tests/c_api_compile_test.c new file mode 100644 index 000000000000..e1620dfe3280 --- /dev/null +++ b/libs/incident/tests/c_api_compile_test.c @@ -0,0 +1,11 @@ +#include <stdio.h> +#include <incident/incident_report.h> + +/* + * This file ensures that incident/incident_report.h actually compiles with C, + * since there is no other place in the tree that actually uses it from C. + */ +int not_called() { + return 0; +} + |