diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-09-22 15:49:56 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-09-22 15:49:56 (GMT) |
commit | a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb (patch) | |
tree | e5873ca1af977287b5e23d36bca12230030a64ec /Tests/Complex/Executable/complex.cxx | |
parent | 5e46232ad8f6667e1e9a62b11ce4524097ad085a (diff) | |
download | CMake-a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb.zip CMake-a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb.tar.gz CMake-a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb.tar.bz2 |
ENH: added test for elseif
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index c4fc73b..759cfd9 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -444,6 +444,12 @@ int main() cmPassed("COMPILE_FLAGS did work with SET_TARGET_PROPERTIES"); #endif +#ifdef ELSEIF_RESULT + cmPassed("ELSEIF did work"); +#else + cmFailed("ELSEIF did not work"); +#endif + if(file2() != 1) { cmFailed("Call to file2 function from library failed."); |