]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/leaf/test/_compile-fail-result_4.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / leaf / test / _compile-fail-result_4.cpp
diff --git a/ceph/src/boost/libs/leaf/test/_compile-fail-result_4.cpp b/ceph/src/boost/libs/leaf/test/_compile-fail-result_4.cpp
new file mode 100644 (file)
index 0000000..f25f640
--- /dev/null
@@ -0,0 +1,10 @@
+// Copyright 2018-2022 Emil Dotchevski and Reverge Studios, Inc.
+
+// 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/leaf/result.hpp>
+
+namespace leaf = boost::leaf;
+
+leaf::result<int &> x; // Default constructor not available for references