diff options
Diffstat (limited to 'src/boost/libs/thread/test/test_13561.cpp')
-rw-r--r-- | src/boost/libs/thread/test/test_13561.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/boost/libs/thread/test/test_13561.cpp b/src/boost/libs/thread/test/test_13561.cpp new file mode 100644 index 000000000..b72f593d6 --- /dev/null +++ b/src/boost/libs/thread/test/test_13561.cpp @@ -0,0 +1,17 @@ +// Copyright (C) 2018 Vicente Botet +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#define BOOST_THREAD_VERSION 4 + +#include <boost/thread/detail/nullary_function.hpp> +#include <boost/system/detail/error_code.ipp> + +int main(int argc, char* argv[]) +{ + boost::detail::nullary_function<void ()> f1; + auto f2 = f1; +} + + |