diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-12-31 17:16:28 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-01 13:21:00 +0000 |
commit | f85fde743a292e24c9aed81c23f6af466054aee3 (patch) | |
tree | 1116d9757f1668ddf2894f6db429a81a65c38994 /test cases/unit | |
parent | 2ed875e1b49d06d677d299534f2f8290bfbd3b35 (diff) | |
download | meson-f85fde743a292e24c9aed81c23f6af466054aee3.zip meson-f85fde743a292e24c9aed81c23f6af466054aee3.tar.gz meson-f85fde743a292e24c9aed81c23f6af466054aee3.tar.bz2 |
Wire up locations in a couple more warnings
These are the remaining warnings in the parser, where we have the location
to hand.
Diffstat (limited to 'test cases/unit')
-rw-r--r-- | test cases/unit/20 warning location/conf.in | 1 | ||||
-rw-r--r-- | test cases/unit/20 warning location/meson.build | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test cases/unit/20 warning location/conf.in b/test cases/unit/20 warning location/conf.in new file mode 100644 index 0000000..a2903ed --- /dev/null +++ b/test cases/unit/20 warning location/conf.in @@ -0,0 +1 @@ +@MISSING@ diff --git a/test cases/unit/20 warning location/meson.build b/test cases/unit/20 warning location/meson.build index e26c6c9..0b14b8b 100644 --- a/test cases/unit/20 warning location/meson.build +++ b/test cases/unit/20 warning location/meson.build @@ -1,6 +1,10 @@ -project('duplicate kwarg', 'c') +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() +configure_file(input: 'conf.in' , output: 'conf', configuration: conf_data) |