mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
Add initial implementation of quick_exit
This commit is contained in:
17
test/quick_exit_fail.cpp
Normal file
17
test/quick_exit_fail.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
// Test for quick_exit.hpp
|
||||
//
|
||||
// Copyright 2018 Peter Dimov
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
|
||||
#include <boost/core/quick_exit.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::quick_exit( 1 );
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user