aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c')
-rw-r--r--meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c b/meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c
new file mode 100644
index 000000000..2184bc68c
--- /dev/null
+++ b/meson/test cases/common/42 subproject/subprojects/sublib/simpletest.c
@@ -0,0 +1,5 @@
+#include<subdefs.h>
+
+int main(void) {
+ return subfunc() == 42 ? 0 : 1;
+}