summaryrefslogtreecommitdiffstats
path: root/test cases/failing/121 missing compiler/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing/121 missing compiler/subprojects')
-rw-r--r--test cases/failing/121 missing compiler/subprojects/sub/main.c1
-rw-r--r--test cases/failing/121 missing compiler/subprojects/sub/meson.build4
2 files changed, 5 insertions, 0 deletions
diff --git a/test cases/failing/121 missing compiler/subprojects/sub/main.c b/test cases/failing/121 missing compiler/subprojects/sub/main.c
new file mode 100644
index 0000000..44e82e2
--- /dev/null
+++ b/test cases/failing/121 missing compiler/subprojects/sub/main.c
@@ -0,0 +1 @@
+int main(int argc, char *argv[]) { return 0; }
diff --git a/test cases/failing/121 missing compiler/subprojects/sub/meson.build b/test cases/failing/121 missing compiler/subprojects/sub/meson.build
new file mode 100644
index 0000000..b60850c
--- /dev/null
+++ b/test cases/failing/121 missing compiler/subprojects/sub/meson.build
@@ -0,0 +1,4 @@
+project('sub')
+
+# Should fail because we did not add C language, even if parent project did.
+executable('app', 'main.c')