The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
278 B

project('elseif', 'c')
t = true
f = false
if true
message('Ok.')
elif true
error('Error')
else
error('Error')
endif
if f
error('Error.')
elif t
message('Ok')
else
error('Error')
endif
if f
error('Error.')
elif false
error('Error')
else
message('Ok')
endif