diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-09-22 11:49:56 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-09-22 11:49:56 -0400 |
commit | a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb (patch) | |
tree | e5873ca1af977287b5e23d36bca12230030a64ec /Tests/ComplexOneConfig/Executable/complex.cxx | |
parent | 5e46232ad8f6667e1e9a62b11ce4524097ad085a (diff) | |
download | cmake-a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb.tar.gz |
ENH: added test for elseif
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-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 c4fc73bd68..759cfd9375 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/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."); |