From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/unit/9 d dedup/meson.build | 5 +++++ test cases/unit/9 d dedup/prog.c | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 test cases/unit/9 d dedup/meson.build create mode 100644 test cases/unit/9 d dedup/prog.c (limited to 'test cases/unit/9 d dedup') diff --git a/test cases/unit/9 d dedup/meson.build b/test cases/unit/9 d dedup/meson.build new file mode 100644 index 0000000..a7b6a82 --- /dev/null +++ b/test cases/unit/9 d dedup/meson.build @@ -0,0 +1,5 @@ +project('d dedup', 'c') + +add_project_arguments('-D', 'FOO', '-D', 'BAR', language : 'c') + +executable('prog', 'prog.c') diff --git a/test cases/unit/9 d dedup/prog.c b/test cases/unit/9 d dedup/prog.c new file mode 100644 index 0000000..505f122 --- /dev/null +++ b/test cases/unit/9 d dedup/prog.c @@ -0,0 +1,14 @@ +#include + +#ifndef FOO +#error FOO is not defined. +#endif + +#ifndef BAR +#error BAR is not defined. +#endif + +int main(int argc, char **argv) { + printf("All is well.\n"); + return 0; +} -- cgit v1.2.3