This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
No Subject
- To: dixon!cygnus.com!egcs-bugs
- From: Mike Shirobokov <root at mad_max dot volgacom dot samara dot su>
- Date: Thu, 19 Mar 1998 16:16:03 +0400
=== cut ==
template <class T>
struct A {
void a() {}
};
template <class T>
struct B: public A<T> {
void a( int ) {}
};
main()
{
B<int>().a();
}
=== cut ==
egcs_bug.cc: In function `int main()':
egcs_bug.cc:13: no matching function for call to `B<int>::a ()'
egcs_bug.cc:8: candidates are: B<int>::a(int)
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)