The International Monetary Fund warned that the global economy could soon test its resilience as emergency oil stocks run low and government budgets are overstretched. In its latest World Economic Outlook, the fund said global growth has held up better than feared over the past six months.