[Bug c++/38524] "ICE at cp/typeck.c:2268" on "struct{enum E{};}A;int main(){A.E::foo;}"

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 14 12:02:00 GMT 2008



------- Comment #1 from paolo dot carlini at oracle dot com  2008-12-14 11:59 -------
Can't reproduce the ICE with current (142748) mainline:

38524.C:1: warning: non-local variable ‘<anonymous struct> A’ uses anonymous
type
38524.C: In function ‘int main()’:
38524.C:1: error: ‘E’ is not a class or namespace

If you can, please re-open.


-- 

paolo dot carlini at oracle dot com changed:

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


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



More information about the Gcc-bugs mailing list