This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No Subject


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]