URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [assign1.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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" }
}
Go to most recent revision | Compare with Previous | Blame | View Log