diff options
author | Brad King <brad.king@kitware.com> | 2011-11-17 15:16:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-17 15:16:57 (GMT) |
commit | aaf376594cf4ae1d541189a2789382db47aa5d7b (patch) | |
tree | 84cc3aa6990bbcd37333d00a490764f70c405bd2 /Utilities/KWIML/test/test_include_CXX.cxx | |
parent | 21469b65dd9238b1737acfcd57886f83578ecab7 (diff) | |
parent | 9ccd639ad70c65b844f6610c5ae08a63e25f6806 (diff) | |
download | CMake-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.cxx | 22 |
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; +} |