Greece's prime minister said his government is in talks with rescue lenders over a possible precautionary credit line to ease the country's exit from its €240-billion ($308-billion U.S.) bailout program.

Antonis Samaras, speaking to reporters Friday at a summit in Milan, said the credit line was "an item negotiation." He did not clarify whether the credit line would come from other euro countries or the International Monetary Fund.

The bailout loans from other euro countries end this year, while those from the IMF in 2016.

Story continues below advertisement

Samaras has hoped to have Greece stop taking bailout loans at the end of this year.

But amid a global market sell-off this week, Greece has seen its borrowing rates soar, hurting its chances of being able to finance itself on bond markets.