diff options
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/warning/8 target with no sources/meson.build | 3 | ||||
| -rw-r--r-- | test cases/warning/8 target with no sources/test.json | 7 |
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 000000000..2a8ee110b --- /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 000000000..30e5b05f1 --- /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" + } + ] +} |
