summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/type_traits/test/compile_fail/is_convertible2_fail.cpp
blob: 8a4a0517efdea5104c66de9422cf69d66fe530c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//  (C) Copyright John Maddock 2017. 
//  Use, modification and distribution are subject to 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/type_traits/is_convertible.hpp>
#include "../test.hpp"

#ifndef BOOST_TT_HAS_WORKING_IS_COMPLETE
#error "Sorry can't test this."
#endif

int main()
{
   return boost::is_convertible<incomplete_type, UDT>::value;
}