diff --git a/test/Jamfile b/test/Jamfile index e8d17be0..c9b87da4 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -219,6 +219,7 @@ project : [ requires cxx11_variadic_templates cxx11_hdr_tuple ] ] [ run sequence/ref_vector.cpp ] [ run sequence/flatten_view.cpp ] + [ compile sequence/github-159.cpp ] [ compile sequence/size.cpp ] diff --git a/test/sequence/github-159.cpp b/test/sequence/github-159.cpp new file mode 100644 index 00000000..e21d80c5 --- /dev/null +++ b/test/sequence/github-159.cpp @@ -0,0 +1,16 @@ +/*============================================================================= + Copyright (c) 2017 Kohei Takahashi + + 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 +#include + +int main() +{ + boost::fusion::vector v1; + boost::fusion::vector v2(v1); + v1 = v2; +}