1 // { dg-do assemble  }
2 // GROUPS passed initialization
3 // init file
4 // From: Ingo Donasch <ingo@specs.de>
5 // Date:     Wed, 16 Jun 93 13:28:55 +01:00
6 // Subject:  g++-2.4.2 bug report
7 // Message-ID: <199306161128.AA22079@opamp.specs.de>
8 
9 class b;
10 
11 class a {
12 public:
13         a(const b*);            // needs this parameter
14 };
15 
16 class b {
17 private:
18         a three[3];
19 public:
20         b();
21 };
22 
b()23 b::b() : three(this)
24 { // { dg-error "" } bad array initializer
25 }
26 
27