mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Added unit test to make sure that Visual C++ 7.1 ICE reported by Ralf W. Grosse-Kunstleve (Boost Developers mailing list, subject "utility/value_init.hpp: VC 7.1 ICE & workaround") will not occur anymore.
[SVN r39309]
This commit is contained in:
parent
3bb2568fad
commit
8f03aeac4e
@ -95,6 +95,9 @@ int test_main(int, char **)
|
|||||||
test( POD(0,0,0.0), POD('a',1234,56.78) ) ;
|
test( POD(0,0,0.0), POD('a',1234,56.78) ) ;
|
||||||
test( NonPOD( std::string() ), NonPOD( std::string("something") ) ) ;
|
test( NonPOD( std::string() ), NonPOD( std::string("something") ) ) ;
|
||||||
|
|
||||||
|
NonPOD NonPOD_object( std::string("NonPOD_object") );
|
||||||
|
test<NonPOD *>( 0, &NonPOD_object ) ;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user