summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/LoadedCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 17:17:59 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 17:17:59 (GMT)
commit50423a779e771f284fa19d28c205ade881f7c3aa (patch)
tree6d95805d4b051e60bfaad8fe923aef34bd5f24cd /Tests/LoadCommandOneConfig/LoadedCommand.cxx
parent76e9af1575cf264e5af6e825c0af4da80be0b3e2 (diff)
downloadCMake-50423a779e771f284fa19d28c205ade881f7c3aa.zip
CMake-50423a779e771f284fa19d28c205ade881f7c3aa.tar.gz
CMake-50423a779e771f284fa19d28c205ade881f7c3aa.tar.bz2
Fix test so that it does some modules testing by checking for some functions and some size of types
Diffstat (limited to 'Tests/LoadCommandOneConfig/LoadedCommand.cxx')
-rw-r--r--Tests/LoadCommandOneConfig/LoadedCommand.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
index c2a3439..65483c8 100644
--- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx
+++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx
@@ -1,8 +1,10 @@
+#include "LoadedCommand.h"
+
int main ()
{
#ifdef CMAKE_IS_FUN
- return 0;
+ return SIZEOF_CHAR-1;
#else
- return 1;
+ return SIZEOF_SHORT;
#endif
}