CMake/Tests/RunCMake/Syntax/FunctionUnmatchedForeach.cmake

6 lines
71 B
CMake

function(f)
foreach(i 1)
#endforeach() # missing
endfunction()
f()