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++.law/] [static-mem4.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed static-mem
struct test {
void test_member() {
static test& ds = *this; // FIX: static test* ds = this;
}
};
int main()
{
test t;
}
Go to most recent revision | Compare with Previous | Blame | View Log