blob: 464b7c692d0c1cdd17a3c12f5eab30525ed42d5a [file] [log] [blame]
// { dg-do compile }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S { // { dg-error "assignment" }
S();
T t;
};
void f()
{
S<const int> s;
s = s; // { dg-message "synthesized" }
}