summaryrefslogtreecommitdiffstats
path: root/test cases/common/213 source set dictionary/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/213 source set dictionary/subdir')
-rw-r--r--test cases/common/213 source set dictionary/subdir/b.c13
-rw-r--r--test cases/common/213 source set dictionary/subdir/meson.build1
2 files changed, 14 insertions, 0 deletions
diff --git a/test cases/common/213 source set dictionary/subdir/b.c b/test cases/common/213 source set dictionary/subdir/b.c
new file mode 100644
index 0000000..31c3789
--- /dev/null
+++ b/test cases/common/213 source set dictionary/subdir/b.c
@@ -0,0 +1,13 @@
+#include <stdlib.h>
+#include "all.h"
+
+void h(void)
+{
+}
+
+int main(void)
+{
+ if (p) abort();
+ f();
+ g();
+}
diff --git a/test cases/common/213 source set dictionary/subdir/meson.build b/test cases/common/213 source set dictionary/subdir/meson.build
new file mode 100644
index 0000000..b497de5
--- /dev/null
+++ b/test cases/common/213 source set dictionary/subdir/meson.build
@@ -0,0 +1 @@
+sources.add(when: ['YES2', good], if_true: [ files('b.c') ])