mirror of
https://github.com/boostorg/core.git
synced 2025-11-28 21:30:09 +01:00
fix for trac issue #12814, including a new test for the issue
This commit is contained in:
@@ -65,10 +65,15 @@ int main()
|
||||
BOOST_TEST_EQ( ++x, ++y );
|
||||
BOOST_TEST_EQ( x++, y++ );
|
||||
|
||||
const char* s1 = "abc"; // make sure addresses are different
|
||||
const char* s2 = "abc"; // make sure addresses are different
|
||||
BOOST_TEST_EQ(s1, s2);
|
||||
|
||||
// BOOST_TEST_NE
|
||||
|
||||
BOOST_TEST_NE( ++x, y );
|
||||
BOOST_TEST_NE( &x, &y );
|
||||
BOOST_TEST_NE( "abc", "ABC" );
|
||||
|
||||
// BOOST_TEST_THROWS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user