Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / tti / test / test_has_mem_data_fail.cpp
1
2 //  (C) Copyright Edward Diener 2011
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6
7 #include "test_has_mem_data.hpp"
8 #include <boost/mpl/assert.hpp>
9
10 int main()
11   {
12   
13   // someDataMember does not exist at all
14   
15   BOOST_MPL_ASSERT(( BOOST_TTI_HAS_MEMBER_DATA_GEN(someDataMember)<AType,short> ));
16   
17   return 0;
18
19   }