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