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++.law/] [init10.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed initialization
// init file
// From: Ingo Donasch <ingo@specs.de>
// Date: Wed, 16 Jun 93 13:28:55 +01:00
// Subject: g++-2.4.2 bug report
// Message-ID: <199306161128.AA22079@opamp.specs.de>
class b;
class a {
public:
a(const b*); // needs this parameter
};
class b {
private:
a three[3];
public:
b();
};
b::b() : three(this) // { dg-error "bad array initializer" }
{
}