]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/lambda/test/quick.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / lambda / test / quick.cpp
diff --git a/ceph/src/boost/libs/lambda/test/quick.cpp b/ceph/src/boost/libs/lambda/test/quick.cpp
new file mode 100644 (file)
index 0000000..e7b1cf2
--- /dev/null
@@ -0,0 +1,15 @@
+// Copyright 2021 Peter Dimov
+// Distributed under the Boost Software License, Version 1.0.
+// https://www.boost.org/LICENSE_1_0.txt
+
+#include <boost/lambda/lambda.hpp>
+#include <boost/core/lightweight_test.hpp>
+
+int main()
+{
+    using namespace boost::lambda;
+
+    BOOST_TEST_EQ( (_1 + _2)(1, 2), 3 );
+
+    return boost::report_errors();
+}