diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/common/44 pkgconfig-gen/dependencies/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/44 pkgconfig-gen/dependencies/main.c b/test cases/common/44 pkgconfig-gen/dependencies/main.c new file mode 100644 index 0000000..397d40c --- /dev/null +++ b/test cases/common/44 pkgconfig-gen/dependencies/main.c @@ -0,0 +1,10 @@ +#include <simple.h> + +#ifndef LIBFOO +#error LIBFOO should be defined in pkgconfig cflags +#endif + +int main(int argc, char *argv[]) +{ + return simple_function() == 42 ? 0 : 1; +} |