diff options
Diffstat (limited to 'meson/test cases/failing/89 kwarg dupe')
-rw-r--r-- | meson/test cases/failing/89 kwarg dupe/meson.build | 6 | ||||
-rw-r--r-- | meson/test cases/failing/89 kwarg dupe/prog.c | 6 | ||||
-rw-r--r-- | meson/test cases/failing/89 kwarg dupe/test.json | 7 |
3 files changed, 19 insertions, 0 deletions
diff --git a/meson/test cases/failing/89 kwarg dupe/meson.build b/meson/test cases/failing/89 kwarg dupe/meson.build new file mode 100644 index 000000000..06821a278 --- /dev/null +++ b/meson/test cases/failing/89 kwarg dupe/meson.build @@ -0,0 +1,6 @@ +project('dupe kwarg', 'c') + +dupedict = {'install': true} + +executable('prog', 'prog.c', install: true, + kwargs: dupedict) diff --git a/meson/test cases/failing/89 kwarg dupe/prog.c b/meson/test cases/failing/89 kwarg dupe/prog.c new file mode 100644 index 000000000..5f3fbe6a2 --- /dev/null +++ b/meson/test cases/failing/89 kwarg dupe/prog.c @@ -0,0 +1,6 @@ +#include<stdio.h> + +int main(int argc, char **argv) { + printf("I don't get built. It makes me saaaaaad. :(\n"); + return 0; +} diff --git a/meson/test cases/failing/89 kwarg dupe/test.json b/meson/test cases/failing/89 kwarg dupe/test.json new file mode 100644 index 000000000..ec4660043 --- /dev/null +++ b/meson/test cases/failing/89 kwarg dupe/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/89 kwarg dupe/meson.build:5:0: ERROR: Entry \"install\" defined both as a keyword argument and in a \"kwarg\" entry." + } + ] +} |