1 2 3 4 5 6 7 8 9
// { dg-do assemble } // simple test for id from base class during class defn struct foo { enum { blah = 1 }; }; struct bar : public foo { char cache[blah]; };