Re: [patch] add test for PR c++/33840

2011-06-04 Thread Jason Merrill
OK. Jason

[patch] add test for PR c++/33840

2011-06-04 Thread Jonathan Wakely
The code in the PR is correctly rejected now, this adds a test to prevent regressions so the PR can be closed. 2011-06-04 Jonathan Wakely PR c++/33840 * g++.dg/diagnostic/bitfld2.C: New. Tested x86_64-linux, ok for trunk and 4.6? Index: testsuite/g++.dg/diagnostic/bitfld2.C =