Used to say that one thinks that something will never happen:

The train station will be renovated when pigs fly.