diff options
Diffstat (limited to 'src/boost/libs/bind/test/arg_copy_fail.cpp')
-rw-r--r-- | src/boost/libs/bind/test/arg_copy_fail.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boost/libs/bind/test/arg_copy_fail.cpp b/src/boost/libs/bind/test/arg_copy_fail.cpp new file mode 100644 index 00000000..35e9e3d0 --- /dev/null +++ b/src/boost/libs/bind/test/arg_copy_fail.cpp @@ -0,0 +1,19 @@ +// +// arg_copy_fail.cpp - arg<1> to arg<2> +// +// Copyright 2016 Peter Dimov +// +// 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 +// + +#include <boost/bind/arg.hpp> + +// + +int main() +{ + boost::arg<1> a1(( boost::arg<2>() )); + (void)a1; +} |