aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/warning/8 target with no sources/meson.build3
-rw-r--r--test cases/warning/8 target with no sources/test.json7
2 files changed, 10 insertions, 0 deletions
diff --git a/test cases/warning/8 target with no sources/meson.build b/test cases/warning/8 target with no sources/meson.build
new file mode 100644
index 0000000..2a8ee11
--- /dev/null
+++ b/test cases/warning/8 target with no sources/meson.build
@@ -0,0 +1,3 @@
+project('no sources', 'c')
+
+static_library('no sources')
diff --git a/test cases/warning/8 target with no sources/test.json b/test cases/warning/8 target with no sources/test.json
new file mode 100644
index 0000000..30e5b05
--- /dev/null
+++ b/test cases/warning/8 target with no sources/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "WARNING: Build target no sources has no sources. This was never supposed to be allowed but did because of a bug, support will be removed in a future release of Meson"
+ }
+ ]
+}