aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/46 subproject subproject/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/46 subproject subproject/prog.c')
-rw-r--r--meson/test cases/common/46 subproject subproject/prog.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/common/46 subproject subproject/prog.c b/meson/test cases/common/46 subproject subproject/prog.c
new file mode 100644
index 000000000..27162c5e0
--- /dev/null
+++ b/meson/test cases/common/46 subproject subproject/prog.c
@@ -0,0 +1,5 @@
+int func(void);
+
+int main(void) {
+ return func() == 42 ? 0 : 1;
+}