------- Comment #2 from pzhao at gcc dot gnu dot org  2010-06-30 03:55 -------
C++ has the same problem.

Testcase:
class foo { int x; }

typedef int bar;

g++-4.6:
a.C:3:13: error: two or more data types in declaration of ‘bar’

clang++:
a.C:1:21: error: expected ';' after class
class foo { int x; }
                    ^
                    ;


-- 

pzhao at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pzhao at gcc dot gnu dot org


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

Reply via email to