summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-27 18:51:09 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-27 19:52:06 (GMT)
commita33b3949e5337da978828d611f3ca3f08bcda21b (patch)
tree8fcb374c3a5e20596f3c9135160a9698cf1777cc /Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt
parent813b28902320831c0a668d1a6dc30817c87c73c3 (diff)
downloadCMake-a33b3949e5337da978828d611f3ca3f08bcda21b.zip
CMake-a33b3949e5337da978828d611f3ca3f08bcda21b.tar.gz
CMake-a33b3949e5337da978828d611f3ca3f08bcda21b.tar.bz2
foreach: Fix crash when parsing invalid integer
Fixes: #20393
Diffstat (limited to 'Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt')
-rw-r--r--Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt b/Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt
new file mode 100644
index 0000000..5803fe8
--- /dev/null
+++ b/Tests/RunCMake/foreach/foreach-RANGE-non-int-test-3-1-stderr.txt
@@ -0,0 +1,4 @@
+^CMake Error at foreach-RANGE-non-int-test-3-1\.cmake:[0-9]+ \(foreach\):
+ foreach Invalid integer: 'b'
+Call Stack \(most recent call first\):
+ CMakeLists\.txt:3 \(include\)$