summaryrefslogtreecommitdiff
path: root/Tests/ComplexOneConfig/Executable/complex.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-09-22 11:49:56 -0400
committerKen Martin <ken.martin@kitware.com>2006-09-22 11:49:56 -0400
commita6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb (patch)
treee5873ca1af977287b5e23d36bca12230030a64ec /Tests/ComplexOneConfig/Executable/complex.cxx
parent5e46232ad8f6667e1e9a62b11ce4524097ad085a (diff)
downloadcmake-a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb.tar.gz
ENH: added test for elseif
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx6
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.");