diff options
author | Brad King <brad.king@kitware.com> | 2015-12-17 19:55:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-17 19:55:38 (GMT) |
commit | c7d9a249118a7b01ed8fa9cc8c61833e39d251d2 (patch) | |
tree | cf0e810bdf615b994bc4f2ff0e59ef62e2be15f8 /Utilities/KWIML/test/test.c | |
parent | 498c36850ba3e3b04dc2cbcd0baad7e8ee750de7 (diff) | |
download | CMake-c7d9a249118a7b01ed8fa9cc8c61833e39d251d2.zip CMake-c7d9a249118a7b01ed8fa9cc8c61833e39d251d2.tar.gz CMake-c7d9a249118a7b01ed8fa9cc8c61833e39d251d2.tar.bz2 |
Utilities/KWIML: Drop sources to make room for fresh import
Diffstat (limited to 'Utilities/KWIML/test/test.c')
-rw-r--r-- | Utilities/KWIML/test/test.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Utilities/KWIML/test/test.c b/Utilities/KWIML/test/test.c deleted file mode 100644 index 131c81f..0000000 --- a/Utilities/KWIML/test/test.c +++ /dev/null @@ -1,39 +0,0 @@ -/*============================================================================ - Kitware Information Macro Library - Copyright 2010-2011 Kitware, Inc. - - Distributed under the OSI-approved BSD License (the "License"); - see accompanying file Copyright.txt for details. - - This software is distributed WITHOUT ANY WARRANTY; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the License for more information. -============================================================================*/ -#ifdef __cplusplus -extern "C" { -#endif -extern int test_ABI_C(void); -extern int test_INT_C(void); -extern int test_ABI_CXX(void); -extern int test_INT_CXX(void); -extern int test_include_C(void); -extern int test_include_CXX(void); -#ifdef __cplusplus -} // extern "C" -#endif - -int main(void) -{ - int result = 1; -#ifdef KWIML_LANGUAGE_C - result = test_ABI_C() && result; - result = test_INT_C() && result; - result = test_include_C() && result; -#endif -#ifdef KWIML_LANGUAGE_CXX - result = test_ABI_CXX() && result; - result = test_INT_CXX() && result; - result = test_include_CXX() && result; -#endif - return result? 0 : 1; -} |