URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [visibility26.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed visibility
// visibility file
// From: jamshid@ses.com (Jamshid Afshar)
// Date: Sun, 12 Dec 93 03:09:15 CST
// Subject: Missed access declaration error
// Message-ID: <9312120909.AA22135@ses.com>
class X {
public:
void f();
};
class Y : private X {
public:
void f(int);
X::f; // used to be an error; now equivalent to 'using X::f'
};