An analogue for elliptic curves of the Grunwald-Wang example