diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-04-25 11:22:44 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-04-25 11:22:44 (GMT) |
commit | daa15d35fdd2b03070fb2bd87ad4fad6ba49f525 (patch) | |
tree | 9989e63d0efbdbe6f4da16e9d969e40ba3fc2b14 /src/boost-test.cpp | |
parent | a9b51d8ba92f01c292ddd8b7d4acf2ba4eb4002d (diff) | |
download | mxe-daa15d35fdd2b03070fb2bd87ad4fad6ba49f525.zip mxe-daa15d35fdd2b03070fb2bd87ad4fad6ba49f525.tar.gz mxe-daa15d35fdd2b03070fb2bd87ad4fad6ba49f525.tar.bz2 |
add test program for package boost
Diffstat (limited to 'src/boost-test.cpp')
-rw-r--r-- | src/boost-test.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/boost-test.cpp b/src/boost-test.cpp new file mode 100644 index 0000000..ea809fe --- /dev/null +++ b/src/boost-test.cpp @@ -0,0 +1,17 @@ +/* This file is part of mingw-cross-env. */ +/* See doc/index.html for further information. */ + +#include <iostream> +#include <boost/archive/xml_oarchive.hpp> + +int main(int argc, char *argv[]) +{ + (void)argc; + (void)argv; + + boost::archive::xml_oarchive oa(std::cout); + std::string s = "\n\n Hello, World!\n\n"; + oa << BOOST_SERIALIZATION_NVP(s); + + return 0; +} |