1// { dg-do assemble } 2typedef __SIZE_TYPE__ size_t; 3inline void *operator new(size_t, void *place) throw() { return place; } 4 5struct A 6{ 7 A(); 8 ~A(); 9}; 10 11void testfunc( void ) 12{ 13 A* mybuf; 14 A v[1]; 15 16 new (mybuf) A(); 17} 18