arm: cleanup legacy ARM_PE code
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / base1.C
blobb38a6546d033956b94c8b65176dd5ee85e94d07d
1 // { dg-do assemble  }
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 25 Nov 2000 <nathan@codesourcery.com>
6 // We lost information about which base wasn't an aggregate type.
8 typedef int I;
9 typedef int cI;
11 struct A {};
13 typedef const A cA;
14 typedef A pA;
16 struct B : I {};  // { dg-error "" } not an aggregate
17 struct C : cI {}; // { dg-error "" } not an aggregate
18 struct D : cA {}; // cv-qualified is fine per DR 484
19 struct E : pA {};