diff options
Diffstat (limited to 'meson/test cases/common/236 proper args splitting')
3 files changed, 29 insertions, 0 deletions
diff --git a/meson/test cases/common/236 proper args splitting/main.c b/meson/test cases/common/236 proper args splitting/main.c new file mode 100644 index 000000000..4b2038fcb --- /dev/null +++ b/meson/test cases/common/236 proper args splitting/main.c @@ -0,0 +1,11 @@ +#ifndef FOO +# error "FOO is not defined" +#endif + +#ifndef BAR +# error "BAR is not defined" +#endif + +int main(void) { + return 0; +} diff --git a/meson/test cases/common/236 proper args splitting/meson.build b/meson/test cases/common/236 proper args splitting/meson.build new file mode 100644 index 000000000..4a36f9cbb --- /dev/null +++ b/meson/test cases/common/236 proper args splitting/meson.build @@ -0,0 +1,9 @@ +project('proper args splitting', 'c') + +test( + 'main', + executable( + 'main', + 'main.c', + ) +) diff --git a/meson/test cases/common/236 proper args splitting/test.json b/meson/test cases/common/236 proper args splitting/test.json new file mode 100644 index 000000000..b1738aab0 --- /dev/null +++ b/meson/test cases/common/236 proper args splitting/test.json @@ -0,0 +1,9 @@ +{ + "matrix": { + "options": { + "c_args": [ + { "val": "-DFOO -DBAR" } + ] + } + } +} |