From a6e63f3a6120f5cd4e192b5ea7f95f6ef32e97bb Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 22 Sep 2006 11:49:56 -0400 Subject: ENH: added test for elseif --- Tests/ComplexOneConfig/Executable/complex.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx') 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."); -- cgit v1.2.1