mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 12:27:42 +02:00
Fix expected failures when no rvalue references
This commit is contained in:
@ -52,10 +52,17 @@ int main()
|
||||
BOOST_TEST_TRAIT_SAME(I3, I4);
|
||||
BOOST_TEST_TRAIT_SAME(I5, I6);
|
||||
BOOST_TEST_TRAIT_SAME(I7, I8);
|
||||
|
||||
int expected = 14;
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
||||
|
||||
BOOST_TEST_TRAIT_SAME(I9, I10);
|
||||
BOOST_TEST_TRAIT_SAME(I11, I12);
|
||||
|
||||
expected += 2;
|
||||
|
||||
#endif
|
||||
|
||||
return boost::report_errors() == 16;
|
||||
return boost::report_errors() == expected;
|
||||
}
|
||||
|
Reference in New Issue
Block a user