On Jan 18, 2008 12:42 PM, Steve Naroff <[EMAIL PROTECTED]> wrote:
> Fixed by r46179.

This testcase shouldn't give any errors or warnings.  The declaration
of bar is a tentative definition.

struct foo bar;
struct foo* a() {
  return &bar;
}
struct foo {int a; int b;};

This testcase should give an error (at least in -pedantic mode):
static int s[];

-Eli
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to