diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-06 19:52:39 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-06 19:52:39 (GMT) |
commit | 820aa6b961a16af55959a870491b7521d39ff8ca (patch) | |
tree | 38fa079e4a41768a177736a3997a7723133b5cac /Tests/NewlineArgs/cxxonly.cxx | |
parent | 12b8643feec59a48f548ab02c574d79000b84e87 (diff) | |
download | CMake-820aa6b961a16af55959a870491b7521d39ff8ca.zip CMake-820aa6b961a16af55959a870491b7521d39ff8ca.tar.gz CMake-820aa6b961a16af55959a870491b7521d39ff8ca.tar.bz2 |
ENH: added a tets for newlines in some commands
Diffstat (limited to 'Tests/NewlineArgs/cxxonly.cxx')
-rw-r--r-- | Tests/NewlineArgs/cxxonly.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/NewlineArgs/cxxonly.cxx b/Tests/NewlineArgs/cxxonly.cxx new file mode 100644 index 0000000..05d55e4 --- /dev/null +++ b/Tests/NewlineArgs/cxxonly.cxx @@ -0,0 +1,19 @@ +#include "libcxx1.h" +#include "libcxx2.h" + +#include <stdio.h> + +int main () +{ + if ( LibCxx1Class::Method() != 2.0 ) + { + printf("Problem with libcxx1\n"); + return 1; + } +#ifdef TEST_FLAG_3 + return 0; +#else + printf("Problem with libcxx2.h include dir probably!\n"); + return 1; +#endif +} |