diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-06-26 17:01:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-06-26 17:01:35 (GMT) |
commit | 19e891532a915d1fa4fcf4cdba6254d28c2adc6c (patch) | |
tree | 8f128805f9f8e6bcef1bee2a10acf9e4b6e4bc83 /Tests/ComplexOneConfig/Executable | |
parent | d8e05b43a1fc0370aa3ac84f4209b1b942809b89 (diff) | |
download | CMake-19e891532a915d1fa4fcf4cdba6254d28c2adc6c.zip CMake-19e891532a915d1fa4fcf4cdba6254d28c2adc6c.tar.gz CMake-19e891532a915d1fa4fcf4cdba6254d28c2adc6c.tar.bz2 |
ENH: support parenthesis as arguments and in conditionals feature request #6191
Diffstat (limited to 'Tests/ComplexOneConfig/Executable')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index 95e77b6..0ecd8fe 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -369,6 +369,12 @@ int main() cmFailed("ELSEIF did not work"); #endif +#ifdef CONDITIONAL_PARENTHESES + cmPassed("CONDITIONAL_PARENTHESES did work"); +#else + cmFailed("CONDITIONAL_PARENTHESES did not work"); +#endif + if(file2() != 1) { cmFailed("Call to file2 function from library failed."); |