2009/6/5 Jonathan Wakely:
> 2009/6/5 Aldy Hernandez:
>>
>> Which test is this?  Can you send it to me?
>
> It tests a header that isn't checked in yet, so sending the test alone
> wouldn't help much :)
>
> I'll try to come up with a self-contained example tomorrow.

The attached test will FAIL with a trunk build from yesterday, with
the output in the second attachment.

The test for errors on line 11 fails because the error is at :11:9:
which matches the test for errors on line 9.

Jonathan
// { dg-do compile }

struct X
{
};

int main()
{
  X x1(0);  // { dg-error "no match" }

  X x2(0);  // { dg-error "no match" }

  return 0;
}
// { dg-excess-errors "note" }

Attachment: fail.log
Description: Binary data

Reply via email to