No Subject

Miloslav GRUNDMANN grundman@mip.ups-tlse.fr
Tue Oct 7 07:50:00 GMT 1997


//
// gcc version egcs-2.90.10 970924 (gcc2-970802 experimental)
//

template <class T > class X
{
public : bool operator==(int i) const { return true; };
};

// this line causes the bug :
template <class T > bool X<T>::operator==(int) const;

bool main()
{
X<int>	a;
return a==0;
}



More information about the Gcc-bugs mailing list