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++.brendan/] [nest13.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed nested-classes
// 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
// compared as the "inner" we knew about when it was forward-declared,
// versus the "inner" we know about when it *has* been defined.
class temp
{
public:
struct inner;
inner *trump()
{
return (tt);
}
struct inner
{
int ll;
}*tt;
};
Go to most recent revision | Compare with Previous | Blame | View Log