diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2002-01-02 13:55:23 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2002-01-02 13:55:23 +0000 |
commit | 46c895ac0b9468a53f08e1875b13aca83227ec5d (patch) | |
tree | 1e7c6a62af4480d37032a64370d64099ab6fab12 /gcc/c-decl.c | |
parent | 833aa4c4149ce0fa84968a03fe51a13575381d79 (diff) | |
download | gcc-46c895ac0b9468a53f08e1875b13aca83227ec5d.zip gcc-46c895ac0b9468a53f08e1875b13aca83227ec5d.tar.gz gcc-46c895ac0b9468a53f08e1875b13aca83227ec5d.tar.bz2 |
re PR c++/3716 (Template parameters that are pointers to member functions)
cp:
PR c++/3716
* pt.c (tsubst_aggr_type): Move pmf handling into tsubst.
(tsubst, case POINTER_TYPE): Handle pmfs here.
(tsubst, case OFFSET_TYPE): Check it is not an offset to
reference. If it is offset to FUNCTION_TYPE, create a METHOD_TYPE.
testsuite:
* g++.dg/template/ptrmem1.C: New test.
* g++.dg/template/ptrmem2.C: New test.
From-SVN: r48471
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions