diff options
Diffstat (limited to 'meson/test cases/unit/22 warning location')
9 files changed, 16 insertions, 0 deletions
diff --git a/meson/test cases/unit/22 warning location/a.c b/meson/test cases/unit/22 warning location/a.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/a.c diff --git a/meson/test cases/unit/22 warning location/b.c b/meson/test cases/unit/22 warning location/b.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/b.c diff --git a/meson/test cases/unit/22 warning location/conf.in b/meson/test cases/unit/22 warning location/conf.in new file mode 100644 index 000000000..a2903ed38 --- /dev/null +++ b/meson/test cases/unit/22 warning location/conf.in @@ -0,0 +1 @@ +@MISSING@ diff --git a/meson/test cases/unit/22 warning location/main.c b/meson/test cases/unit/22 warning location/main.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/main.c diff --git a/meson/test cases/unit/22 warning location/meson.build b/meson/test cases/unit/22 warning location/meson.build new file mode 100644 index 000000000..52a93d18c --- /dev/null +++ b/meson/test cases/unit/22 warning location/meson.build @@ -0,0 +1,11 @@ +project('warning location', 'c', invalid: 'cheese') +a = library('liba', 'a.c') +b = library('libb', 'b.c') +executable('main', 'main.c', link_with: a, link_with: b) +subdir('sub') +warning('a warning of some sort') +import('unstable-simd') + +conf_data = configuration_data() +conf_data.set('NOTMISSING', 1) +configure_file(input: 'conf.in' , output: 'conf', configuration: conf_data) diff --git a/meson/test cases/unit/22 warning location/sub/c.c b/meson/test cases/unit/22 warning location/sub/c.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/sub/c.c diff --git a/meson/test cases/unit/22 warning location/sub/d.c b/meson/test cases/unit/22 warning location/sub/d.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/sub/d.c diff --git a/meson/test cases/unit/22 warning location/sub/meson.build b/meson/test cases/unit/22 warning location/sub/meson.build new file mode 100644 index 000000000..27f67783c --- /dev/null +++ b/meson/test cases/unit/22 warning location/sub/meson.build @@ -0,0 +1,4 @@ +c = library('libc', 'c.c') +d = library('libd', 'd.c') +executable('sub', 'sub.c', link_with: c, link_with: d) +warning('subdir warning') diff --git a/meson/test cases/unit/22 warning location/sub/sub.c b/meson/test cases/unit/22 warning location/sub/sub.c new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/unit/22 warning location/sub/sub.c |