2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-26 19:12:11 +00:00
Files
tti/test/TestMFHasTypeFail2.cpp
Edward Diener ebc6524a56 New tests and support for gcc 4.3.0
[SVN r67412]
2010-12-22 17:26:52 +00:00

19 lines
339 B
C++

#include "TestMFHasType.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
// Wrong enclosing type
BOOST_MPL_ASSERT((tti::mf_has_type
<
tti::has_type_AnIntType,
boost::mpl::identity<AnotherType>
>
));
return 0;
}