URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [visibility6.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed visibility
class bottom
{
public:
int b; // { dg-error "" } private
};
class middle : private bottom
{
public:
void foo () { b; }
};
class top : public middle
{
public:
void bar () { b; }// { dg-error "" } .*
};
Go to most recent revision | Compare with Previous | Blame | View Log