URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// From: quipu@ulrik.uio.no
|
// From: quipu@ulrik.uio.no
|
// Subject: extern "C" nested class
|
// Subject: extern "C" nested class
|
// Date: Fri, 13 Aug 1993 15:33:53 +0200
|
// Date: Fri, 13 Aug 1993 15:33:53 +0200
|
|
|
extern "C" {
|
extern "C" {
|
struct A {
|
struct A {
|
struct B { int j; } *x;
|
struct B { int j; } *x;
|
};
|
};
|
}
|
}
|
|
|
void
|
void
|
foo () {
|
foo () {
|
A a;
|
A a;
|
struct A::B *b;
|
struct A::B *b;
|
b = a.x; // { dg-bogus "" } type `B' is not a base type for type `B'
|
b = a.x; // { dg-bogus "" } type `B' is not a base type for type `B'
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.