blob: dfdaab27010dd3c15404f58240575ff3866fcc32 [file] [log] [blame]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S {
S();
T t;
};
void f()
{
S<const int> s;
s = s; // ERROR - generated assignment operator is illegal
}