[patch] testcase for exception table labels

Paul Brook paul@codesourcery.com
Wed Jan 18 19:30:00 GMT 2006


On Wednesday 18 January 2006 18:41, Dale Johannesen wrote:
> On Jan 18, 2006, at 12:35 AM, Mike Stump wrote:
> >> 2006-01-17  Eric Christopher  <echristo@apple.com>
> >>
> >>     * g++.dg/eh/table.cpp: New test.
> >
> > No, please use .C to be consistent with the rest of the testsuite.
>
> There should be some with .cpp extension, otherwise we won't be testing
> that it works.   Consistency in a testsuite is not a virtue; the idea
> should be to test as many things as possible.

Then you should add a test to check that .cpp works as expected.
IMHO othogonal tests and consistency are more desirable than testing two 
unrelated features in a single test.

Paul



More information about the Gcc-patches mailing list