diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-26 16:52:13 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-26 23:39:15 +0100 |
commit | e75e3976facda7de244fbb9a02eebf0d043ea1c8 (patch) | |
tree | dab22f95b5c837a70b1b4164d97ff351a49ffd81 /test cases/common/204 line continuation | |
parent | 53fe7c2f0a51697cd57628753852dd3f8711becf (diff) | |
download | meson-e75e3976facda7de244fbb9a02eebf0d043ea1c8.zip meson-e75e3976facda7de244fbb9a02eebf0d043ea1c8.tar.gz meson-e75e3976facda7de244fbb9a02eebf0d043ea1c8.tar.bz2 |
Condense test directory names.
Diffstat (limited to 'test cases/common/204 line continuation')
-rw-r--r-- | test cases/common/204 line continuation/meson.build | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test cases/common/204 line continuation/meson.build b/test cases/common/204 line continuation/meson.build new file mode 100644 index 0000000..16c72f9 --- /dev/null +++ b/test cases/common/204 line continuation/meson.build @@ -0,0 +1,17 @@ +project('line continuation') + +a = 1 +b = 2 + +c = a \ ++b +assert(c == 3, 'Line continuation is not working') + +d = a + \ + b +assert(d == 3, 'Line continuation is not working') + +if a == 1 and \ + b == 3 + error('Line continuation in "if" condition is not working') +endif |