OSDN Git Service

PR c++/51429
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2011 20:46:38 +0000 (20:46 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2011 20:46:38 +0000 (20:46 +0000)
commit5f72d880cad044ccc5f0e24a55168a95ef4a667d
tree43e6086b7c3691de31b9aac2ccc09d847b4b694f
parent222ad45b2c2a4da957de9fe2474ec2c3c5c05d2a
PR c++/51429
* typeck2.c (cxx_incomplete_type_diagnostic): Don't
ICE if TREE_OPERAND (value, 1) is overloaded.

* g++.dg/parse/error45.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182089 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error45.C [new file with mode: 0644]