This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
No Subject
- From: Miloslav GRUNDMANN <grundman at mip dot ups-tlse dot fr>
- Date: Tue, 7 Oct 1997 16:53:38 +0200
- Apparently-To: egcs-bugs at cygnus dot com
//
// 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;
}