Test workaround for EDG bug

[SVN r21488]
This commit is contained in:
Dave Abrahams
2004-01-05 01:25:45 +00:00
parent ac8bd8d5e8
commit 7fa0daffb1

View File

@@ -35,6 +35,8 @@ struct b5 { typedef int xxx[10]; };
struct b6 { typedef void (*xxx)(); };
struct b7 { typedef void (xxx)(); };
template <class T> struct outer;
template <class T> struct inner { typedef typename T::type type; };
int main()
{
@@ -59,5 +61,7 @@ int main()
BOOST_STATIC_ASSERT(has_xxx<b6>::value);
BOOST_STATIC_ASSERT(has_xxx<b7>::value);
BOOST_STATIC_ASSERT(!has_xxx<outer<inner<int> > >::value);
return 0;
}