diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index dfe0b6a..7baee02 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -169,3 +169,5 @@ run no_exceptions_support_test.cpp : : : off : no_exceptions use-project /boost/core/swap : ./swap ; build-project ./swap ; + +run crtdbg_test.cpp ; diff --git a/test/crtdbg_test.cpp b/test/crtdbg_test.cpp new file mode 100644 index 0000000..baefd64 --- /dev/null +++ b/test/crtdbg_test.cpp @@ -0,0 +1,13 @@ +#include +#include + +int main() +{ + BOOST_TEST(true); + + std::vector v; + std::vector::iterator i = v.end(); + ++i; + + return boost::report_errors(); +}