mirror of
https://github.com/boostorg/lambda2.git
synced 2025-05-10 09:43:52 +00:00
Work around msvc-14.0 crash
This commit is contained in:
parent
363d73ddc2
commit
b5be78d07e
@ -47,5 +47,14 @@ int main()
|
|||||||
TEST_BINARY(^)
|
TEST_BINARY(^)
|
||||||
TEST_UNARY(~)
|
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();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user