Some C++0x experiments

Andrew Pinski pinskia@physics.uc.edu
Sat Jun 10 03:44:00 GMT 2006


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



More information about the Gcc mailing list