mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
Add boost::core::lwt_init()
This commit is contained in:
12
test/lightweight_test_fail16.cpp
Normal file
12
test/lightweight_test_fail16.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2022 Peter Dimov
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
|
||||
// Should fail, because boost::report_errors() hasn't been called
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::core::lwt_init();
|
||||
}
|
||||
Reference in New Issue
Block a user