re PR c++/20465 (error: no matching function for call)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 22 Mar 2005 09:30:22 +0000 (09:30 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 22 Mar 2005 09:30:22 +0000 (09:30 +0000)
commit37048601f7fed81a6cef3dd46dac2280b855b53c
tree9910ce1a675c1cbcc49c6aa71199c355eb211576
parent7107fa7ca5359698d742aada7285587b2fb5ae9e
re PR c++/20465 (error: no matching function for call)

cp:
PR c++/20465
PR c++/20381
* typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a
template.
testsuite:
PR c++/20465
PR c++/20381
* g++.dg/template/ptrmem12.C: New.

From-SVN: r96862
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ptrmem12.C [new file with mode: 0644]