re PR c++/9053 (g++ confused about ambiguity of overloaded function templates)
cp:
PR c++/9053
* decl.c (duplicate_decls): Templates may be disambiguated by
return type.
PR c++/8702
* decl2.c (check_classfn): Use lookup_fnfield_1. List all
conversion operators on failure.
testsuite
* g++.dg/lookup/decl1.C: New test.
* g++.dg/lookup/decl2.C: New test.
From-SVN: r60482
Showing
gcc/testsuite/g++.dg/lookup/decl1.C
0 → 100644
gcc/testsuite/g++.dg/lookup/decl2.C
0 → 100644
Please
register
or
sign in
to comment