2 // Negative test for BOOST_TEST_TRAIT_TRUE
4 // Copyright (c) 2014 Peter Dimov
6 // Distributed under the Boost Software License, Version 1.0.
7 // See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt
11 #include <boost/core/lightweight_test_trait.hpp>
13 template<class T1, class T2> struct Y1
18 template<class T1, class T2> struct Y2
35 BOOST_TEST_TRAIT_TRUE(( Y2<X1::type, X2::type> ));
37 return boost::report_errors();