summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testIOS.cxx
blob: 632b5c22b21e58a249eb9d03857a9d57de65eb7e (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 testIOS(int, char*[])
{
  kwsys_ios::ostringstream ostr;
  ostr << "Hello, World!";
  kwsys_ios::cout << ostr.str() << kwsys_ios::endl;
  return 0;
}