summaryrefslogtreecommitdiffstats
path: root/test cases/warning/3 fallback consistency/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/warning/3 fallback consistency/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/warning/3 fallback consistency/meson.build b/test cases/warning/3 fallback consistency/meson.build
new file mode 100644
index 0000000..ad2b226
--- /dev/null
+++ b/test cases/warning/3 fallback consistency/meson.build
@@ -0,0 +1,7 @@
+project('proj', 'c')
+
+# The first call succeed and cache the value of 'sub' dependency. The 2nd call
+# should return the cached value, but still verify the fallback variable is
+# consistent.
+dependency('sub', fallback : ['sub', 'dep1'])
+dependency('sub', fallback : ['sub', 'dep2'])