This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Some C++0x experiments
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Pedro Lamarão <pedro dot lamarao at mndfck dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 9 Jun 2006 19:38:36 -0700
- Subject: Re: Some C++0x experiments
- References: <e6d7cr$5kr$1@sea.gmane.org>
Some small suggestion for the testsuite:
This:
+BOOST_STATIC_ASSERT(sizeof(a1) == sizeof(a2)); // { dg-error "" }
Should be:
+BOOST_STATIC_ASSERT(sizeof(a1) == sizeof(a2)); // { dg-error "sizeof
(a1) == sizeof(a2)" }
So that it does just error out that static_assert is not defined.
-- Pinski