1 // { dg-do run  }
2 // GROUPS passed vtable
3 // vtable file
4 // From: Pete Bevin <pete@deng.icl.co.uk>
5 // Date:     Mon, 28 Nov 1994 19:57:53 +0000 (GMT)
6 // Subject:  g++-2.6.2: Virtual inheritance causes incorrect padding
7 // Message-ID: <Pine.SOL.3.91.941128194453.7510A-100000@gabriel>
8 
9 extern "C" int printf (const char *, ...);
10 
11 struct A {
12 };
13 
14 
15 struct B : virtual A {
16    public:
17       int b;
18 };
19 
20 
main()21 int main()
22 {
23     B blist[10];
24     printf ("PASS\n");
25 }
26