URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [error20.C] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/34275
// { dg-do compile }
struct A
{ // { dg-message "candidate is" }
virtual A foo ();
};
void bar (A& a)
{
a.foo () = 0; // { dg-error "A::foo\\(\\) = 0" }
}
Go to most recent revision | Compare with Previous | Blame | View Log