]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/typeof/test/function_ref.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / typeof / test / function_ref.cpp
1 // Copyright (C) 2006 Arkadiy Vertleyb
2 // Use, modification and distribution is subject to the Boost Software
3 // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
4
5 #include "test.hpp"
6
7 BOOST_STATIC_ASSERT(boost::type_of::test<void(&)()>::value);
8 BOOST_STATIC_ASSERT(boost::type_of::test<int(&)(int, short)>::value);
9 BOOST_STATIC_ASSERT(boost::type_of::test<int(&)(...)>::value);
10 BOOST_STATIC_ASSERT(boost::type_of::test<int(&)(int,...)>::value);