aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.law/ctors1.C
blob: 85a4be6d09c5e0b706022eb03e137ab85c384c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }
// GROUPS passed constructors
// ctor file
// From: rac@qedinc.com (Robert Clark)
// Date:     Tue, 14 Dec 93 10:45:50 PST
// Subject:  bug in g++ 2.5.7 Array of objects
// Message-ID: <9312141845.AA09188@annapurna.qedinc.com>


class POOL {
public:
  POOL();
};

struct VAL_LIST {
  POOL   pool[2];
};

VAL_LIST baz;