]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/leaf/test/_compile-fail-exception_2.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / leaf / test / _compile-fail-exception_2.cpp
CommitLineData
1e59de90
TL
1// Copyright 2018-2022 Emil Dotchevski and Reverge Studios, Inc.
2
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)
5
6#include <boost/leaf/exception.hpp>
7
8namespace leaf = boost::leaf;
9
10struct test: std::exception { };
11
12auto e = leaf::exception(42, test());