summaryrefslogtreecommitdiff
path: root/Utilities/KWIML/test/test_include_CXX.cxx
blob: 82aa54616796457c1ce9b2c3497cf3cf8f05e50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
  Copyright Kitware, Inc.
  Distributed under the OSI-approved BSD 3-Clause License.
  See accompanying file Copyright.txt for details.
*/
#include <string>

#if defined(_MSC_VER) && defined(NDEBUG)
// Use C++ runtime to avoid linker warning:
//  warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
std::string test_include_CXX_use_stl_string;
#endif

/* Test KWIML header inclusion after above system headers.  */
#include "test.h"
#include "../include/kwiml/abi.h"
#include "../include/kwiml/int.h"

extern "C" int test_include_CXX(void)
{
  return 1;
}