From 7fa0daffb1405b3e0ffbb6fa532365afb3fe1e13 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 5 Jan 2004 01:25:45 +0000 Subject: [PATCH] Test workaround for EDG bug [SVN r21488] --- test/aux_/has_xxx.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }