re PR c++/34275 (Broken diagnostic: 'obj_type_ref' not supported by dump_expr)
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Nov 2007 07:24:54 +0000 (08:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Nov 2007 07:24:54 +0000 (08:24 +0100)
commit89ab8ba092a961625a2b636d808db5af3f08f9cd
treea19ea46d14e7de1e2863f1e4827278f8b2583408
parent6aa38454caa003e2bb9298bc1a61fcc1bca6c23d
re PR c++/34275 (Broken diagnostic: 'obj_type_ref' not supported by dump_expr)

PR c++/34275
* error.c (dump_expr): Handle OBJ_TYPE_REF.

* g++.dg/other/error20.C: New test.

From-SVN: r130533
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error20.C [new file with mode: 0644]