mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
Test workaround for EDG bug
[SVN r21488]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user