]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/parameter/test/literate/static-member-functions0.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / parameter / test / literate / static-member-functions0.cpp
index 27b8b416e7bc162dab5f6837b523abae767d54f4..ce568285f523478ed6086fa584d6afdbe826f5e3 100644 (file)
@@ -1,14 +1,27 @@
 
 #include <boost/parameter.hpp>
 #include <iostream>
+
 using namespace boost::parameter;
+
 BOOST_PARAMETER_NAME(arg1)
 
 struct somebody
 {
     BOOST_PARAMETER_MEMBER_FUNCTION(
-        (void), static f, tag, (optional (arg1,(int),0)))
+        (void), static f, tag, (optional (arg1,(int),0))
+    )
     {
         std::cout << arg1 << std::endl;
     }
 };
+
+#include <boost/core/lightweight_test.hpp>
+
+int main()
+{
+    somebody::f();
+    somebody::f(4);
+    return boost::report_errors();
+}
+