Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.old-deja / g++.law / init10.C
blob90e3e45d68221f5bd25227970ab81ef2a0ef3dda
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>
9 class b;
11 class a {
12 public:
13         a(const b*);            // needs this parameter
16 class b {
17 private:
18         a three[3];
19 public:
20         b();
23 b::b() : three(this)  // { dg-error "array" }