URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed visibility
|
// GROUPS passed visibility
|
// visibility file
|
// visibility file
|
// From: roland@jts.com (Roland Knight )
|
// From: roland@jts.com (Roland Knight )
|
// Date: Thu, 29 Apr 1993 16:17:00 -0400
|
// Date: Thu, 29 Apr 1993 16:17:00 -0400
|
// Subject: gcc 2.3.3 bug
|
// Subject: gcc 2.3.3 bug
|
// Message-ID:
|
// Message-ID:
|
class t1 {
|
class t1 {
|
protected:
|
protected:
|
int a; // { dg-error "" } protected
|
int a; // { dg-error "" } protected
|
};
|
};
|
|
|
|
|
class t2 : private t1 {
|
class t2 : private t1 {
|
public:
|
public:
|
int b;
|
int b;
|
};
|
};
|
|
|
|
|
class t3 : public t2 {
|
class t3 : public t2 {
|
public:
|
public:
|
int ttt();
|
int ttt();
|
};
|
};
|
|
|
|
|
int t3::ttt() { return a; }// { dg-error "" } .*
|
int t3::ttt() { return a; }// { dg-error "" } .*
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.