------- Comment #1 from pinskia at gcc dot gnu dot org  2006-04-11 01:06 -------
This is not a bug as foo is now a variable decl and not a typedef one so "foo
a;" would fail also.

Now if this was C++ you could use ::foo to get the typedef version of foo but
this is C and there is no way to access the other namespaces.  

In 4.1.0 and above the error message is now:
t.c: In function 'pathological':
t.c:12: error: expected specifier-qualifier-list before 'foo'


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27108

Reply via email to