summaryrefslogtreecommitdiffstats
path: root/Utilities/KWIML/test/test_INT_CXX.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-27 18:08:31 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-27 18:09:09 (GMT)
commitb2975adb31b891d87bb9828097a10167b811e96b (patch)
tree603e995eb053b4542225d31b3eb6513c8a64310a /Utilities/KWIML/test/test_INT_CXX.cxx
parentea1a519a356cb8b6a54ca3858f20aa9560be9ccf (diff)
parent831badeca25a8eca9e92dbbb181ea69b58112b2c (diff)
downloadCMake-b2975adb31b891d87bb9828097a10167b811e96b.zip
CMake-b2975adb31b891d87bb9828097a10167b811e96b.tar.gz
CMake-b2975adb31b891d87bb9828097a10167b811e96b.tar.bz2
Merge branch 'upstream-kwiml' into import-KWIML
Introduce KWIML as a subtree at Utilities/KWIML.
Diffstat (limited to 'Utilities/KWIML/test/test_INT_CXX.cxx')
-rw-r--r--Utilities/KWIML/test/test_INT_CXX.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/Utilities/KWIML/test/test_INT_CXX.cxx b/Utilities/KWIML/test/test_INT_CXX.cxx
new file mode 100644
index 0000000..9f74e96
--- /dev/null
+++ b/Utilities/KWIML/test/test_INT_CXX.cxx
@@ -0,0 +1,22 @@
+/*============================================================================
+ 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.
+============================================================================*/
+#include "test.h"
+#include KWIML_HEADER(INT.h)
+#include "test_INT_format.h"
+extern "C" int test_INT_CXX(void)
+{
+ if(!test_INT_format())
+ {
+ return 0;
+ }
+ return 1;
+}