1 2 3 4 5 6 7 8 9
// { dg-do compile } class Foo { int children[4]; public: unsigned function(void) { return sizeof (((Foo*)0)->children); } };