diff options
Diffstat (limited to 'Tests/RunCMake/while/CMP0130-common.cmake')
-rw-r--r-- | Tests/RunCMake/while/CMP0130-common.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/while/CMP0130-common.cmake b/Tests/RunCMake/while/CMP0130-common.cmake new file mode 100644 index 0000000..15322e0 --- /dev/null +++ b/Tests/RunCMake/while/CMP0130-common.cmake @@ -0,0 +1,6 @@ +set(paren "(") +while(${paren}) + message(STATUS "Condition incorrectly true") + break() +endwhile() +message(STATUS "Code incorrectly accepted") |