diff --git a/test/aux_/has_xxx.cpp b/test/aux_/has_xxx.cpp index 9e33273..8178405 100644 --- a/test/aux_/has_xxx.cpp +++ b/test/aux_/has_xxx.cpp @@ -35,6 +35,8 @@ struct b5 { typedef int xxx[10]; }; struct b6 { typedef void (*xxx)(); }; struct b7 { typedef void (xxx)(); }; +template struct outer; +template struct inner { typedef typename T::type type; }; int main() { @@ -59,5 +61,7 @@ int main() BOOST_STATIC_ASSERT(has_xxx::value); BOOST_STATIC_ASSERT(has_xxx::value); + BOOST_STATIC_ASSERT(!has_xxx > >::value); + return 0; }