URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [scope5.C] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed scoping
// local-class file
// From: schlaege@methusalix.ert.rwth-aachen.de (Chris Schlaeger H Zivojnovic)
// Date: Tue, 10 Aug 93 16:50:33 +0200
// Subject: Bug report
// Message-ID: <9308101450.AA28016@methusalix.ert.rwth-aachen.de>
int main()
{
class foo
{
int i;
} ;
class bar
{
public:
bar() { y = 0; }
void f() { foo x; }
private:
int y;
} ;
bar c;
}
Go to most recent revision | Compare with Previous | Blame | View Log