summaryrefslogtreecommitdiffstats
path: root/test cases/common/251 add_project_dependencies/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/251 add_project_dependencies/lib.c')
-rw-r--r--test cases/common/251 add_project_dependencies/lib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/common/251 add_project_dependencies/lib.c b/test cases/common/251 add_project_dependencies/lib.c
new file mode 100644
index 0000000..ac46bfc
--- /dev/null
+++ b/test cases/common/251 add_project_dependencies/lib.c
@@ -0,0 +1,14 @@
+#include <zlib.h>
+#include <math.h>
+
+#ifndef DEFINED
+#error expected compile_arg not found
+#endif
+
+double zero;
+int ok(void) {
+ void * something = deflate;
+ if(something != 0)
+ return 0;
+ return (int)cos(zero);
+}