summaryrefslogtreecommitdiffstats
path: root/test cases/unit/18 pkgconfig static/foo.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/unit/18 pkgconfig static/foo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/unit/18 pkgconfig static/foo.c b/test cases/unit/18 pkgconfig static/foo.c
new file mode 100644
index 0000000..bf7fbdd
--- /dev/null
+++ b/test cases/unit/18 pkgconfig static/foo.c
@@ -0,0 +1,8 @@
+int power_level (void)
+{
+#ifdef FOO_STATIC
+ return 9001;
+#else
+ return 8999;
+#endif
+}