summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/foreach/BadRangeInFunction.cmake
blob: f51cbbf11727b9eb07c99b171ddf4aefec3653c8 (plain)
1
2
3
4
5
function(func)
  foreach(bad_range RANGE 2 1 1)
  endforeach()
endfunction()
func()