summaryrefslogtreecommitdiffstats
path: root/test cases/unit/22 warning location
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
commit7b6e527f440cd7e6f8be2b07cee320ee6ca18786 (patch)
tree4a2738d69fa2814659fdadddf5826282e73d81f4 /test cases/unit/22 warning location
parentInitial commit. (diff)
downloadmeson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.tar.xz
meson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.zip
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test cases/unit/22 warning location')
-rw-r--r--test cases/unit/22 warning location/a.c0
-rw-r--r--test cases/unit/22 warning location/b.c0
-rw-r--r--test cases/unit/22 warning location/conf.in1
-rw-r--r--test cases/unit/22 warning location/main.c0
-rw-r--r--test cases/unit/22 warning location/meson.build11
-rw-r--r--test cases/unit/22 warning location/sub/c.c0
-rw-r--r--test cases/unit/22 warning location/sub/d.c0
-rw-r--r--test cases/unit/22 warning location/sub/meson.build4
-rw-r--r--test cases/unit/22 warning location/sub/sub.c0
9 files changed, 16 insertions, 0 deletions
diff --git a/test cases/unit/22 warning location/a.c b/test cases/unit/22 warning location/a.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/a.c
diff --git a/test cases/unit/22 warning location/b.c b/test cases/unit/22 warning location/b.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/b.c
diff --git a/test cases/unit/22 warning location/conf.in b/test cases/unit/22 warning location/conf.in
new file mode 100644
index 0000000..a2903ed
--- /dev/null
+++ b/test cases/unit/22 warning location/conf.in
@@ -0,0 +1 @@
+@MISSING@
diff --git a/test cases/unit/22 warning location/main.c b/test cases/unit/22 warning location/main.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/main.c
diff --git a/test cases/unit/22 warning location/meson.build b/test cases/unit/22 warning location/meson.build
new file mode 100644
index 0000000..132939e
--- /dev/null
+++ b/test cases/unit/22 warning location/meson.build
@@ -0,0 +1,11 @@
+project('warning location', 'c')
+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/test cases/unit/22 warning location/sub/c.c b/test cases/unit/22 warning location/sub/c.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/sub/c.c
diff --git a/test cases/unit/22 warning location/sub/d.c b/test cases/unit/22 warning location/sub/d.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/sub/d.c
diff --git a/test cases/unit/22 warning location/sub/meson.build b/test cases/unit/22 warning location/sub/meson.build
new file mode 100644
index 0000000..27f6778
--- /dev/null
+++ b/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/test cases/unit/22 warning location/sub/sub.c b/test cases/unit/22 warning location/sub/sub.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/22 warning location/sub/sub.c