mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 22:05:57 +00:00
fb114a40aa
Add test for a case fixed by commit 6a4a61d9e1
(cmForEachCommand:
prevent leakage, 2017-10-09). Prior to that fix, this test case
could trigger an assertion failure.
Fixes: #17464
6 lines
84 B
CMake
6 lines
84 B
CMake
function(func)
|
|
foreach(bad_range RANGE 2 1 1)
|
|
endforeach()
|
|
endfunction()
|
|
func()
|