Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / conversion / test / implicit_cast_fail2.cpp
1 //
2 // Test that implicit_cast requires a template argument
3 //
4 // Copyright 2014 Peter Dimov
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 //
8 // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
9 //
10
11 #include <boost/implicit_cast.hpp>
12
13 int main()
14 {
15     int x = boost::implicit_cast( 1 );
16     (void)x;
17
18     return 0;
19 }