mirror of
https://github.com/boostorg/system.git
synced 2026-01-25 00:22:27 +01:00
Add tests for calling message with nullptr buffer
This commit is contained in:
@@ -24,6 +24,9 @@ int main()
|
||||
|
||||
BOOST_TEST_EQ( ec.to_string(), std::string( "system:0" ) );
|
||||
|
||||
// when len is 0 buffer can be nullptr
|
||||
ec.message( nullptr, 0 );
|
||||
|
||||
{
|
||||
sys::error_code ec2( ec );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user