| 1 |
project('line continuation') |
| 2 |
|
| 3 |
a = 1 |
| 4 |
b = 2 |
| 5 |
|
| 6 |
c = a \ |
| 7 |
+b |
| 8 |
assert(c == 3, 'Line continuation is not working') |
| 9 |
|
| 10 |
d = a + \ |
| 11 |
b |
| 12 |
assert(d == 3, 'Line continuation is not working') |
| 13 |
|
| 14 |
if a == 1 and \ |
| 15 |
b == 3 |
| 16 |
error('Line continuation in "if" condition is not working') |
| 17 |
endif |