URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error29.C] - Rev 832
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/25637
struct A {
void foo();
A();
void operator delete(void *);
};
struct B {
friend void A::foo() {} // { dg-error "define" }
friend void A::operator delete(void*) {} // { dg-error "define" }
friend A::A() {} // { dg-error "define" }
};
Go to most recent revision | Compare with Previous | Blame | View Log