aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/linuxlike/12 subprojects in subprojects/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/linuxlike/12 subprojects in subprojects/main.c')
-rw-r--r--meson/test cases/linuxlike/12 subprojects in subprojects/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/linuxlike/12 subprojects in subprojects/main.c b/meson/test cases/linuxlike/12 subprojects in subprojects/main.c
new file mode 100644
index 000000000..74523173d
--- /dev/null
+++ b/meson/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;
+}