blob: 62346a224bc331ef7c329930857b23b6008d5b02 [file] [log] [blame]
# 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')
if true
subdir_done()
endif
executable('main', 'main.cpp')
error('Unreachable')