//
// 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;
}