]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/throw_exception/test/throw_exception_nx_test3.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / throw_exception / test / throw_exception_nx_test3.cpp
diff --git a/ceph/src/boost/libs/throw_exception/test/throw_exception_nx_test3.cpp b/ceph/src/boost/libs/throw_exception/test/throw_exception_nx_test3.cpp
new file mode 100644 (file)
index 0000000..c04fd42
--- /dev/null
@@ -0,0 +1,18 @@
+// Copyright 2020 Peter Dimov
+// Distributed under the Boost Software License, Version 1.0.
+// http://www.boost.org/LICENSE_1_0.txt
+
+#if defined(_MSC_VER)
+# pragma warning(disable: 4702) // unreachable code
+# pragma warning(disable: 4577) // noexcept used without /EHsc
+# pragma warning(disable: 4530) // C++ exception handler used
+#endif
+
+// Make sure that simple inclusion does not
+// require boost::throw_exception to be defined
+
+#include <boost/throw_exception.hpp>
+
+int main()
+{
+}