summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-14 19:28:51 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-14 19:35:15 (GMT)
commit2810e561829b0db36961442f0332939e1b74ccdf (patch)
tree03a2cbbcc10a469c55854a7744b4052219b28f79 /Tests
parent834f52a6f41ec5ae8429afa2d374f96458963cf3 (diff)
downloadCMake-2810e561829b0db36961442f0332939e1b74ccdf.zip
CMake-2810e561829b0db36961442f0332939e1b74ccdf.tar.gz
CMake-2810e561829b0db36961442f0332939e1b74ccdf.tar.bz2
math(EXPR): Add support for unary `+` and `-` expressions
Closes: #8996
Diffstat (limited to 'Tests')
-rw-r--r--Tests/MathTest/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/MathTest/CMakeLists.txt b/Tests/MathTest/CMakeLists.txt
index ed2c7d4..f764b3a 100644
--- a/Tests/MathTest/CMakeLists.txt
+++ b/Tests/MathTest/CMakeLists.txt
@@ -10,6 +10,9 @@ set(expressions
"1 +(3*4) + 10 >> 2"
"10000 / 20 / 4"
"10000 / (20 / 4)"
+ "-1 + +1"
+ "+1 - -1"
+ "+1 - - + + -(-3 + - - +1)"
)
set(FILE_EXPRESSIONS "")