summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/continue/NoEnclosingBlockInFunction.cmake
blob: eb2a0984fa04a01b0b5c56f3fe72dba74072448c (plain)
1
2
3
4
5
6
7
8
function(foo)
  continue()
endfunction(foo)

foreach(i RANGE 1 2)
  foo()
  message(STATUS "Hello World")
endforeach()