aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/11 object arithmetic
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/11 object arithmetic')
-rw-r--r--meson/test cases/failing/11 object arithmetic/meson.build3
-rw-r--r--meson/test cases/failing/11 object arithmetic/test.json8
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/failing/11 object arithmetic/meson.build b/meson/test cases/failing/11 object arithmetic/meson.build
new file mode 100644
index 000000000..9a7a6565c
--- /dev/null
+++ b/meson/test cases/failing/11 object arithmetic/meson.build
@@ -0,0 +1,3 @@
+project('object arithmetic', 'c')
+
+foo = '5' + meson
diff --git a/meson/test cases/failing/11 object arithmetic/test.json b/meson/test cases/failing/11 object arithmetic/test.json
new file mode 100644
index 000000000..5339facda
--- /dev/null
+++ b/meson/test cases/failing/11 object arithmetic/test.json
@@ -0,0 +1,8 @@
+{
+ "stdout": [
+ {
+ "match": "re",
+ "line": "test cases/failing/11 object arithmetic/meson\\.build:3:0: ERROR: Invalid use of addition: .*"
+ }
+ ]
+}