This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Some C++0x experiments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]