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/] [visibility8.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed visibility
// visibility file
// From: roland@jts.com (Roland Knight )
// Date: Thu, 29 Apr 1993 16:17:00 -0400
// Subject: gcc 2.3.3 bug
// Message-ID: <m0nof3E-0021ifC@jts.com
class t1 {
protected:
int a; // { dg-error "" } protected
};
class t2 : private t1 {
public:
int b;
};
class t3 : public t2 {
public:
int ttt();
};
int t3::ttt() { return a; }// { dg-error "" } .*