forked from boostorg/system
27 lines
499 B
C++
27 lines
499 B
C++
|
|
// Copyright 2018 Peter Dimov.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
|
|
#include <boost/system/error_code.hpp>
|
|
#include <boost/core/lightweight_test.hpp>
|
|
#include <boost/core/quick_exit.hpp>
|
|
|
|
using namespace boost::system;
|
|
|
|
struct Z
|
|
{
|
|
~Z()
|
|
{
|
|
BOOST_TEST_CSTR_EQ( generic_category().name(), "generic" );
|
|
BOOST_TEST_CSTR_EQ( system_category().name(), "system" );
|
|
|
|
boost::quick_exit( boost::report_errors() );
|
|
}
|
|
};
|
|
|
|
static Z z;
|
|
|
|
int main()
|
|
{
|
|
}
|