URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [undefined2.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/9173
// Origin: <wwieser@gmx.de>
// { dg-do compile }
class A {};
class B
{
void foo(int,A::X); // { dg-error "" }
};
void B::foo(int,A::X) {} // { dg-error "" }