diff options
author | Marek Polacek <polacek@redhat.com> | 2019-05-07 16:26:38 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-05-07 16:26:38 +0000 |
commit | a417d6541582d183b6b283ab8f7c45a476d7c50a (patch) | |
tree | 514124c1a008a21d99916a5d5585b4de90f5cfd6 /gcc/cp/call.c | |
parent | 6cf384a8fb2323cd5d66ea77d0c46527d3deba4a (diff) | |
download | gcc-a417d6541582d183b6b283ab8f7c45a476d7c50a.zip gcc-a417d6541582d183b6b283ab8f7c45a476d7c50a.tar.gz gcc-a417d6541582d183b6b283ab8f7c45a476d7c50a.tar.bz2 |
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.
From-SVN: r270972
Diffstat (limited to 'gcc/cp/call.c')
0 files changed, 0 insertions, 0 deletions