summaryrefslogtreecommitdiffstats
path: root/Utilities/KWIML/test/test_include_CXX.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-17 15:16:57 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-17 15:16:57 (GMT)
commitaaf376594cf4ae1d541189a2789382db47aa5d7b (patch)
tree84cc3aa6990bbcd37333d00a490764f70c405bd2 /Utilities/KWIML/test/test_include_CXX.cxx
parent21469b65dd9238b1737acfcd57886f83578ecab7 (diff)
parent9ccd639ad70c65b844f6610c5ae08a63e25f6806 (diff)
downloadCMake-aaf376594cf4ae1d541189a2789382db47aa5d7b.zip
CMake-aaf376594cf4ae1d541189a2789382db47aa5d7b.tar.gz
CMake-aaf376594cf4ae1d541189a2789382db47aa5d7b.tar.bz2
Merge branch 'upstream-kwiml' into update-KWIML
Diffstat (limited to 'Utilities/KWIML/test/test_include_CXX.cxx')
-rw-r--r--Utilities/KWIML/test/test_include_CXX.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/Utilities/KWIML/test/test_include_CXX.cxx b/Utilities/KWIML/test/test_include_CXX.cxx
new file mode 100644
index 0000000..057b7c2
--- /dev/null
+++ b/Utilities/KWIML/test/test_include_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 <string>
+
+/* Test KWIML header inclusion after above system headers. */
+#include "test.h"
+#include KWIML_HEADER(ABI.h)
+#include KWIML_HEADER(INT.h)
+
+extern "C" int test_include_CXX(void)
+{
+ return 1;
+}