diff options
Diffstat (limited to 'meson/test cases/unit/56 dedup compiler libs/app')
-rw-r--r-- | meson/test cases/unit/56 dedup compiler libs/app/app.c | 13 | ||||
-rw-r--r-- | meson/test cases/unit/56 dedup compiler libs/app/meson.build | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/meson/test cases/unit/56 dedup compiler libs/app/app.c b/meson/test cases/unit/56 dedup compiler libs/app/app.c new file mode 100644 index 000000000..4e215b30b --- /dev/null +++ b/meson/test cases/unit/56 dedup compiler libs/app/app.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include <liba.h> +#include <libb.h> + +int +main(void) +{ + printf("start value = %d\n", liba_get()); + liba_add(2); + libb_mul(5); + printf("end value = %d\n", liba_get()); + return 0; +} diff --git a/meson/test cases/unit/56 dedup compiler libs/app/meson.build b/meson/test cases/unit/56 dedup compiler libs/app/meson.build new file mode 100644 index 000000000..82ac3069d --- /dev/null +++ b/meson/test cases/unit/56 dedup compiler libs/app/meson.build @@ -0,0 +1,2 @@ +executable('app', 'app.c', + dependencies: [liba_dep, libb_dep]) |