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