aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/112 empty fallback/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/112 empty fallback/meson.build')
-rw-r--r--meson/test cases/failing/112 empty fallback/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/failing/112 empty fallback/meson.build b/meson/test cases/failing/112 empty fallback/meson.build
new file mode 100644
index 000000000..f4eb5feb9
--- /dev/null
+++ b/meson/test cases/failing/112 empty fallback/meson.build
@@ -0,0 +1,6 @@
+project('empty fallback')
+
+# There is a subproject named 'foo' that overrides that dependency,
+# but `fallback: []` should not allow to use it. Same behaviour than with
+# `allow_fallback: false`
+dependency('foo', fallback: [])