diff options
author | Brad King <brad.king@kitware.com> | 2013-10-29 09:55:43 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-29 09:55:43 -0400 |
commit | 144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79 (patch) | |
tree | c605e1558c93abd7807dc373344dcbad173cc930 /Tests/RunCMake/Syntax | |
parent | 1665721c28daf8b20c054e3a3cc357fa778bb76e (diff) | |
download | cmake-144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79.tar.gz |
Add to RunCMake.Syntax test comments not separated by spaces
Extend the BracketComment5 test case to cover both bracket comments and
line comments starting immediately after a bracket comment closes.
Diffstat (limited to 'Tests/RunCMake/Syntax')
-rw-r--r-- | Tests/RunCMake/Syntax/BracketComment5.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/BracketComment5.cmake b/Tests/RunCMake/Syntax/BracketComment5.cmake index bb6d9f3184..dc9e6b48d3 100644 --- a/Tests/RunCMake/Syntax/BracketComment5.cmake +++ b/Tests/RunCMake/Syntax/BracketComment5.cmake @@ -2,5 +2,10 @@ message(FATAL_ERROR "This is commented out.") #]] #[[ message(FATAL_ERROR "This is commented out.") +#]]#[[ +message(FATAL_ERROR "This is commented out.") #]] #message(FATAL_ERROR "This is commented out.") +#[[ +message(FATAL_ERROR "This is commented out.") +#]]#message(FATAL_ERROR "This is commented out.") message(STATUS "The above FATAL_ERROR did not occur.") |