summaryrefslogtreecommitdiffstats
path: root/test cases/linuxlike/12 subprojects in subprojects/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/linuxlike/12 subprojects in subprojects/main.c')
-rw-r--r--test cases/linuxlike/12 subprojects in subprojects/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/linuxlike/12 subprojects in subprojects/main.c b/test cases/linuxlike/12 subprojects in subprojects/main.c
new file mode 100644
index 0000000..7452317
--- /dev/null
+++ b/test cases/linuxlike/12 subprojects in subprojects/main.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include "a.h"
+#include "b.h"
+
+int main(void) {
+ int life = a_fun() + b_fun();
+ printf("%d\n", life);
+ return 0;
+}