meson/test cases/common/65 string arithmetic/meson.build

17 lines
305 B
Meson

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