OSDN Git Service

PR c++/20734
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2005 05:38:34 +0000 (05:38 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2005 05:38:34 +0000 (05:38 +0000)
commit80d7b0356a88f101bcd10f648dd83adc8c685bac
tree8ed15eb7577a955c2551d3817fd8ac67763a4022
parentc25d079891715395a32fa4d8e166d3e0a6fa6d89
PR c++/20734
* cp-tree.def (OFFSET_REF): Correct comments.
* init.c (build_offset_ref): Remove misleading comment.
* typeck.c (build_unary_op): Handle pointer-to-member creation
here, rather than ...
(unary_complex_lvalue): ... here.

PR c++/20734
* g++.dg/template/ptrmem13.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97696 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/cp-tree.def
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ptrmem13.C [new file with mode: 0644]