diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-04-26 15:12:19 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-04-26 15:12:19 (GMT) |
commit | c63c23a61759b178c04ac1c492beff131be9d41b (patch) | |
tree | f6575298aade688e315de9eedc58a3d06bff3d9c /Tests/ComplexOneConfig/Executable/complex.cxx | |
parent | 2d53fcf03522bfc13f0a3817c260576bbe496c7d (diff) | |
download | CMake-c63c23a61759b178c04ac1c492beff131be9d41b.zip CMake-c63c23a61759b178c04ac1c492beff131be9d41b.tar.gz CMake-c63c23a61759b178c04ac1c492beff131be9d41b.tar.bz2 |
added tests for var args with macros
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 7ad9997..5cbe51c 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -194,6 +194,12 @@ int main() cmPassed("CMAKE_IS_FUN is defined."); #endif +#if defined(CMAKE_ARGV1) && defined(CMAKE_ARGV2) && defined(CMAKE_ARGV3) && defined(CMAKE_ARGV4) + cmPassed("Variable args for MACROs are working."); +#else + cmFailed("Variable args for MACROs are failing."); +#endif + // ---------------------------------------------------------------------- // Test SET, VARIABLE_REQUIRES |