Work around msvc-14.0 crash

This commit is contained in:
Peter Dimov 2020-09-07 18:32:32 +03:00
parent 363d73ddc2
commit b5be78d07e

View File

@ -47,5 +47,14 @@ int main()
TEST_BINARY(^)
TEST_UNARY(~)
#if defined(_MSC_VER) && _MSC_VER == 1900 && !defined(_DEBUG)
// prevents crash in TEST_BINARY(/)
// no idea why
BOOST_TEST_EQ( (_1 / _2)( 0, 1 ), 0 / 1 );
#endif
return boost::report_errors();
}