summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testIOS.cxx
blob: d699ae591eaff40e49c4273e310f15bb15307f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "kwsysPrivate.h"
#include KWSYS_HEADER(stl/vector)
#include KWSYS_HEADER(ios/sstream)
#include KWSYS_HEADER(ios/iostream)

// Work-around CMake dependency scanning limitation.  This must
// duplicate the above list of headers.
#if 0
# include "kwsys_stl_vector.h.in"
# include "kwsys_ios_sstream.h.in"
# include "kwsys_ios_iostream.h.in"
#endif

int main()
{
  kwsys_ios::ostringstream ostr;
  ostr << "Hello, World!";
  kwsys_ios::cout << ostr.str() << kwsys_ios::endl;
  return 0;
}