]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/leaf/test/_compile-fail-error_info.cpp
1 // Copyright (c) 2018-2020 Emil Dotchevski and Reverge Studios, Inc.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/leaf/handle_errors.hpp>
8 namespace leaf
= boost::leaf
;
11 leaf::error_info a
= f();
12 leaf::error_info b
= a
;