summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/while/unbalanced-parenthesis.cmake
blob: 39d736b259e5df9dd8b8163edb86017d00bf41b2 (plain)
1
2
3
4
5
6
7
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")