aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/22 warning location/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/22 warning location/meson.build')
-rw-r--r--meson/test cases/unit/22 warning location/meson.build11
1 files changed, 11 insertions, 0 deletions
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)