I did that about 25 years ago, but was only a couple of hundred yard from home, so pushed it. There was enough in the mowers can to get me to the petrol station, so no great shakes.
I've play roulette with the Passat. Once having gone 40 miles past 0 miles left to empty, only to fill up and find I still had 5 litres to spare.