CMake/Tests/RunCMake/foreach/BadRangeInFunction-stderr.txt
Brad King fb114a40aa Tests: Add test for bad foreach inside a function
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
2017-11-16 11:10:05 -05:00

6 lines
242 B
Plaintext

^CMake Error at BadRangeInFunction.cmake:2 \(foreach\):
foreach called with incorrect range specification: start 2, stop 1, step 1
Call Stack \(most recent call first\):
BadRangeInFunction.cmake:5 \(func\)
CMakeLists.txt:3 \(include\)$