re PR c++/65954 (gcc segfaults on the following input with a syntax error)
authorNathan Sidwell <nathan@acm.org>
Wed, 20 May 2015 01:54:09 +0000 (01:54 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 20 May 2015 01:54:09 +0000 (01:54 +0000)
commit09b59d4de67fdf03f1263fd16ec7949dabcdebcf
tree07f2d6e9d96f2f8f1df4e23c0c9f431ad4d03852
parent261640d521fd97e7a0f32a074bbdddb74e0cb3e9
re PR c++/65954 (gcc segfaults on the following input with a syntax error)

cp/
PR c++/65954
* typeck.c (finish_class_member_access_expr): Diagnose failed
lookup of enum class member.

testsuite/
* g++.dg/cpp0x/pr65954.C: New.

From-SVN: r223430
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr65954.C [new file with mode: 0644]