blob: 9f2a4bf065b94b63fb7519bd95ccceb3e4c52ea5 [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-error "synthesized" }
}