blob: 90e3e45d68221f5bd25227970ab81ef2a0ef3dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// { 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 "array" }
{
}
|