blob: c87880fb9a878dcf176dd7c7e6e01ee7e51e9e4c [file] [log] [blame]
// Build don't link:
// GROUPS passed operators
// opr-eq file
// Message-Id: <9306040324.AA22954@balder.cs.wisc.edu>
// From: so@cs.wisc.edu (Bryan So)
// Subject: g++ bug
// Date: Thu, 3 Jun 93 22:24:13 -0500
template <class T>
struct Test {
int data;
Test& operator=(int i) { data = i; return *this; }
};
int main()
{
Test<int> i, j;
i = j;
return 0;
}