]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/yap/test/left.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / yap / test / left.cpp
index d6aa9d1832333bc2585c38dd69d44872364f4567..7e045c2fda501b4ac08433ee6cdad00ddd5b4b52 100644 (file)
@@ -314,5 +314,16 @@ int test_main(int, char * [])
         }
     }
 
+#ifndef _MSC_VER // Tsk, tsk.
+    {
+        using term_t = term<int>;
+        constexpr auto expr = term_t{13} + term_t{42};
+        constexpr auto result1 = expr.left().value();
+        constexpr auto result2 = yap::value(left(expr));
+        (void)result1;
+        (void)result2;
+    }
+#endif
+
     return 0;
 }