test9.cpp 768 B

12345678910111213141516171819202122
  1. //-----------------------------------------------------------------------------
  2. // boost-libs variant/test/test9.cpp source file
  3. // See http://www.boost.org for updates, documentation, and revision history.
  4. //-----------------------------------------------------------------------------
  5. //
  6. // Copyright (c) 2016-2019 Antony Polukhin
  7. //
  8. // Distributed under the Boost Software License, Version 1.0. (See
  9. // accompanying file LICENSE_1_0.txt or copy at
  10. // http://www.boost.org/LICENSE_1_0.txt)
  11. // Test from https://github.com/boostorg/variant/pull/21
  12. #include <boost/fusion/container/vector.hpp>
  13. #include <boost/fusion/mpl.hpp>
  14. #include <boost/variant/variant.hpp>
  15. int main() {
  16. boost::make_variant_over<boost::fusion::vector<int, char> >::type t;
  17. (void)t;
  18. }