re PR c++/33844 (Broken diagnostic: 'dotstar_expr/member_ref' not supported by pp_cxx...
authorJakub Jelinek <jakub@redhat.com>
Sat, 27 Oct 2007 15:55:34 +0000 (17:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 27 Oct 2007 15:55:34 +0000 (17:55 +0200)
commit1e3eacc7cb6d8d6471303df1148877379fe584cb
treee20644e65214c9faa7091e3e93e044f503db04da
parentd02dbde6c7e32fb62ea6ee372b0b9748ff9d39b9
re PR c++/33844 (Broken diagnostic: 'dotstar_expr/member_ref' not supported by pp_cxx_unqualified_id)

PR c++/33844
* cxx-pretty-print.c (pp_cxx_pm_expression) <case MEMBER_REF>: Print
->* rather than .*.
* error.c (dump_expr): Handle MEMBER_REF and DOTSTAR_EXPR.

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

From-SVN: r129682
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/ptrmem8.C [new file with mode: 0644]