Threat of downgrade looms over South Africa

If South Africa loses Moody's investment grade rating, what would it cost the local and regional economy?