1/* { dg-do compile } */ 2 3// With IPA-CP, this caused a problem on darwin, where 4// _M_reset is being cloned, it was still being marked 5// as weak and then we had to change the calls to the 6// newly marked function for the non throwing behavior. 7 8int& f(int&); 9inline void _M_reset(int &_M_vbp) throw() 10{ 11 f(_M_vbp); 12} 13extern int _S_last_request; 14void _M_allocate_single_object() throw() 15{ 16 _M_reset(_S_last_request); 17 _M_reset(_S_last_request); 18} 19