summaryrefslogtreecommitdiff
path: root/Utilities/KWIML/test/test_int_CXX.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/KWIML/test/test_int_CXX.cxx')
-rw-r--r--Utilities/KWIML/test/test_int_CXX.cxx19
1 files changed, 19 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 0000000000..ffa4c9b083
--- /dev/null
+++ b/Utilities/KWIML/test/test_int_CXX.cxx
@@ -0,0 +1,19 @@
+/*
+ Copyright Kitware, Inc.
+ Distributed under the OSI-approved BSD 3-Clause License.
+ See accompanying file Copyright.txt for details.
+*/
+#include "test.h"
+#include "../include/kwiml/int.h"
+#include "test_int_format.h"
+#ifndef KWIML_INT_VERSION
+# error "KWIML_INT_VERSION not defined!"
+#endif
+extern "C" int test_int_CXX(void)
+{
+ if(!test_int_format())
+ {
+ return 0;
+ }
+ return 1;
+}