aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/229 disabler array addition
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/229 disabler array addition')
-rw-r--r--meson/test cases/common/229 disabler array addition/meson.build9
-rw-r--r--meson/test cases/common/229 disabler array addition/test.c1
2 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/common/229 disabler array addition/meson.build b/meson/test cases/common/229 disabler array addition/meson.build
new file mode 100644
index 000000000..231f76acf
--- /dev/null
+++ b/meson/test cases/common/229 disabler array addition/meson.build
@@ -0,0 +1,9 @@
+project('disabler_inside_array', 'c')
+
+exes = []
+
+exes += library('a', 'test.c')
+
+exes += library('b', 'test.c', dependencies : disabler())
+
+exes += library('c', 'test.c')
diff --git a/meson/test cases/common/229 disabler array addition/test.c b/meson/test cases/common/229 disabler array addition/test.c
new file mode 100644
index 000000000..e9a7aac03
--- /dev/null
+++ b/meson/test cases/common/229 disabler array addition/test.c
@@ -0,0 +1 @@
+int stub(void) { return 0; }