summaryrefslogtreecommitdiffstats
path: root/Tests/MathTest
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-07-19 20:18:11 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-23 11:33:50 (GMT)
commitd427f12b7324c13d0b90cf02d2261cce8cf7be84 (patch)
tree9ff072ce1ea829ee652274f2d47d105b9e6100c4 /Tests/MathTest
parent59b3000c08d5ba3de947cd196620c73c0e823b45 (diff)
downloadCMake-d427f12b7324c13d0b90cf02d2261cce8cf7be84.zip
CMake-d427f12b7324c13d0b90cf02d2261cce8cf7be84.tar.gz
CMake-d427f12b7324c13d0b90cf02d2261cce8cf7be84.tar.bz2
math(EXPR): Implement ~(exp_NOT) expression as documented
Fixes: #19252
Diffstat (limited to 'Tests/MathTest')
-rw-r--r--Tests/MathTest/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/MathTest/CMakeLists.txt b/Tests/MathTest/CMakeLists.txt
index 5403d29..396f633 100644
--- a/Tests/MathTest/CMakeLists.txt
+++ b/Tests/MathTest/CMakeLists.txt
@@ -16,6 +16,8 @@ set(expressions
"1000 -12*5"
"1000 +12*-5"
"1000 -12*-5"
+ "~~1"
+ "1000 & ~0"
)
set(FILE_EXPRESSIONS "extern void test_expression(int x, int y, const char * text);\n")