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 nested-classes
|
// GROUPS passed nested-classes
|
// The bug here is that wer'e getting a message about inner not
|
// The bug here is that wer'e getting a message about inner not
|
// being a basetype itself. I think it's because it's being
|
// being a basetype itself. I think it's because it's being
|
// compared as the "inner" we knew about when it was forward-declared,
|
// compared as the "inner" we knew about when it was forward-declared,
|
// versus the "inner" we know about when it *has* been defined.
|
// versus the "inner" we know about when it *has* been defined.
|
|
|
class temp
|
class temp
|
{
|
{
|
public:
|
public:
|
struct inner;
|
struct inner;
|
inner *trump()
|
inner *trump()
|
{
|
{
|
return (tt);
|
return (tt);
|
}
|
}
|
struct inner
|
struct inner
|
{
|
{
|
int ll;
|
int ll;
|
}*tt;
|
}*tt;
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.