PR c++/89511 - ICE with using-declaration and unscoped enumerator.
* parser.c (cp_parser_using_declaration): For an unscoped enum only use its context if it's not a function declaration. * g++.dg/cpp0x/using-enum-3.C: New test. From-SVN: r269262
Showing
gcc/testsuite/g++.dg/cpp0x/using-enum-3.C
0 → 100644
Please
register
or
sign in
to comment