Add crtdbg_test.cpp to see what happens on Appveyor

This commit is contained in:
Peter Dimov
2020-01-01 17:19:00 +02:00
parent bda2b9b4b1
commit fa140d66d4
2 changed files with 15 additions and 0 deletions

View File

@ -169,3 +169,5 @@ run no_exceptions_support_test.cpp : : : <exception-handling>off : no_exceptions
use-project /boost/core/swap : ./swap ;
build-project ./swap ;
run crtdbg_test.cpp ;

13
test/crtdbg_test.cpp Normal file
View File

@ -0,0 +1,13 @@
#include <boost/core/lightweight_test.hpp>
#include <vector>
int main()
{
BOOST_TEST(true);
std::vector<int> v;
std::vector<int>::iterator i = v.end();
++i;
return boost::report_errors();
}