1 
2 // Copyright Robin Linden 2018
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // See http://www.boost.org/libs/mpl for documentation.
9 
10 // $Id$
11 // $Date$
12 // $Revision$
13 
14 // Part of a test to demonstrate a linking error with
15 // BOOST_MPL_ASSERT_MSG inside of functions under VC++8.
16 
17 #include <boost/mpl/assert.hpp>
18 
19 template<class T>
func()20 bool func()
21 {
22     BOOST_MPL_ASSERT_MSG(
23         true,
24         ALWAYS_TRUE,
25         (T));
26 
27     return true;
28 }
29