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++.mike/] [net13.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// make sure extern "C" friends work.
extern "C" { void func(); }
struct crash {
int i;
friend void func();
} a;
void func() {
a.i = 1;
}
Go to most recent revision | Compare with Previous | Blame | View Log