| 1 |
# Should run, even though main.cpp does not exist and we call error in the last line. |
| 2 |
# subdir_done jumps to end, so both lines are not executed. |
| 3 |
|
| 4 |
project('example exit') |
| 5 |
|
| 6 |
if true |
| 7 |
subdir_done() |
| 8 |
endif |
| 9 |
|
| 10 |
executable('main', 'main.cpp') |
| 11 |
error('Unreachable') |