cmake/Tests/RunCMake/while/unbalanced-parenthesis.cmake
2022-03-29 21:10:50 +02:00

8 lines
218 B
CMake

set(paren "(")
while(${paren})
message(STATUS "Condition incorrectly true")
break()
endwhile()
# FIXME(#23296): The above condition error is tolerated for compatibility.
message(STATUS "Code incorrectly accepted")