Simplify after_main_test

This commit is contained in:
Peter Dimov
2018-09-22 15:40:19 +03:00
parent a627662e63
commit 08dc402e77
4 changed files with 5 additions and 20 deletions

View File

@ -126,7 +126,7 @@ system-run win32_hresult_test.cpp ;
system-run error_category_test.cpp ;
system-run generic_category_test.cpp ;
system-run system_category_test.cpp ;
system-run after_main_test.cpp after_main_test_1.cpp after_main_test_2.cpp ;
system-run after_main_test.cpp ;
# Quick (CI) test
run quick.cpp ;

View File

@ -5,6 +5,7 @@
#include <boost/system/error_code.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/core/quick_exit.hpp>
#include <cerrno>
using namespace boost::system;
@ -21,6 +22,9 @@ struct Z
static Z z;
static error_code e1( 1, system_category() );
static error_code e2( ENOENT, generic_category() );
int main()
{
}

View File

@ -1,9 +0,0 @@
// Copyright 2018 Peter Dimov.
// Distributed under the Boost Software License, Version 1.0.
#include <boost/system/error_code.hpp>
using namespace boost::system;
static error_code e1( 1, system_category() );

View File

@ -1,10 +0,0 @@
// Copyright 2018 Peter Dimov.
// Distributed under the Boost Software License, Version 1.0.
#include <boost/system/error_code.hpp>
#include <cerrno>
using namespace boost::system;
static error_code e2( ENOENT, generic_category() );