[cfe-dev] Statement scoping issue

Neil Booth neil at daikokuya.co.uk
Thu Aug 23 13:34:26 PDT 2007

C99 scoping seems to work apart from this, whose return b is invalid
as there is no "b" in scope:

int f (int z)
   if (z > sizeof (enum {a, b}))
      return a;
   return b;


More information about the cfe-dev mailing list