aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/18 wrong plusassign
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/18 wrong plusassign')
-rw-r--r--meson/test cases/failing/18 wrong plusassign/meson.build3
-rw-r--r--meson/test cases/failing/18 wrong plusassign/test.json7
2 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/failing/18 wrong plusassign/meson.build b/meson/test cases/failing/18 wrong plusassign/meson.build
new file mode 100644
index 000000000..dfb9e6d53
--- /dev/null
+++ b/meson/test cases/failing/18 wrong plusassign/meson.build
@@ -0,0 +1,3 @@
+project('false plusassign', 'c')
+
+3 += 4
diff --git a/meson/test cases/failing/18 wrong plusassign/test.json b/meson/test cases/failing/18 wrong plusassign/test.json
new file mode 100644
index 000000000..c698f85b9
--- /dev/null
+++ b/meson/test cases/failing/18 wrong plusassign/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/18 wrong plusassign/meson.build:3:0: ERROR: Plusassignment target must be an id."
+ }
+ ]
+}