1 // related to PR c++/38233
2 // test for value-init of a member array
23 bool foo::check () const
25 for (unsigned ix = sizeof (buffer)/ sizeof (buffer[0]); ix--;)
31 inline void *operator new (__SIZE_TYPE__ size, void *p)
36 char heap[sizeof(elt[500])];
40 for (unsigned ix = sizeof (heap); ix--;)
43 foo *f = new (heap) foo ();