aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/43 subproject options/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/43 subproject options/meson.build')
-rw-r--r--meson/test cases/common/43 subproject options/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/common/43 subproject options/meson.build b/meson/test cases/common/43 subproject options/meson.build
new file mode 100644
index 000000000..d4598b639
--- /dev/null
+++ b/meson/test cases/common/43 subproject options/meson.build
@@ -0,0 +1,7 @@
+project('suboptions', 'c')
+
+subproject('subproject')
+
+if not get_option('opt')
+ error('option unset when it should be set')
+endif