PR c++/85587 - error with scoped enum in template.
authorJason Merrill <jason@redhat.com>
Tue, 1 May 2018 18:11:53 +0000 (14:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 May 2018 18:11:53 +0000 (14:11 -0400)
commit1a142d6e6858e6fb58bab8592ee1223621867f1e
tree062d7df293e03e1e19272237268255ee009eab5b
parentfefedb945e5cbea263e7dc0a9a698037d619a969
PR c++/85587 - error with scoped enum in template.

* semantics.c (finish_qualified_id_expr): Don't return an
unqualified IDENTIFIER_NODE.

From-SVN: r259805
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/scoped_enum8.C [new file with mode: 0644]