From e75e3976facda7de244fbb9a02eebf0d043ea1c8 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 26 Apr 2021 16:52:13 +0300 Subject: Condense test directory names. --- test cases/common/62 string arithmetic/meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test cases/common/62 string arithmetic/meson.build (limited to 'test cases/common/62 string arithmetic/meson.build') diff --git a/test cases/common/62 string arithmetic/meson.build b/test cases/common/62 string arithmetic/meson.build new file mode 100644 index 000000000..59567de49 --- /dev/null +++ b/test cases/common/62 string arithmetic/meson.build @@ -0,0 +1,16 @@ +project('string arithmetic', 'c') + +if 'foo' + 'bar' != 'foobar' + error('String concatenation is broken') +endif + +if 'foo' + 'bar' + 'baz' != 'foobarbaz' + error('Many-string concatenation is broken') +endif + +a = 'a' +b = 'b' + +if a + b + 'c' != 'abc' + error('String concat with variables is broken.') +endif -- cgit v1.2.3