summaryrefslogtreecommitdiffstats
path: root/test cases/warning/4 fallback consistency/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/warning/4 fallback consistency/meson.build')
-rw-r--r--test cases/warning/4 fallback consistency/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/warning/4 fallback consistency/meson.build b/test cases/warning/4 fallback consistency/meson.build
new file mode 100644
index 0000000..013b473
--- /dev/null
+++ b/test cases/warning/4 fallback consistency/meson.build
@@ -0,0 +1,4 @@
+project('proj', 'c')
+
+# Subproject overrides 'sub' with another variable than dep2. This should warn.
+dependency('sub', fallback : ['sub', 'dep2'])