summaryrefslogtreecommitdiff
path: root/Tests/MathTest/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-14 15:28:51 -0400
committerBrad King <brad.king@kitware.com>2016-10-14 15:35:15 -0400
commit2810e561829b0db36961442f0332939e1b74ccdf (patch)
tree03a2cbbcc10a469c55854a7744b4052219b28f79 /Tests/MathTest/CMakeLists.txt
parent834f52a6f41ec5ae8429afa2d374f96458963cf3 (diff)
downloadcmake-2810e561829b0db36961442f0332939e1b74ccdf.tar.gz
math(EXPR): Add support for unary `+` and `-` expressions
Closes: #8996
Diffstat (limited to 'Tests/MathTest/CMakeLists.txt')
-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 ed2c7d48c2..f764b3a4fd 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 "")