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
Showing
gcc/testsuite/g++.dg/template/ptrmem1.C
0 → 100644
gcc/testsuite/g++.dg/template/ptrmem2.C
0 → 100644
Please
register
or
sign in
to comment