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