CMake/Tests/RunCMake/Syntax/MacroUnmatchedForeach.cmake

6 lines
65 B
CMake

macro(m)
foreach(i 1)
#endforeach() # missing
endmacro()
m()