I came close, twice.
One was a company delivery truck, a FL-50 Freightliner with a 6BT Cummins. I had just gotten back from a run, and was too tired to fuel the truck, I just parked it inside the warehouse. It never sputtered or missed, but the crew couldn't get it to start the next day. Both tanks were bone dry!
The other time, I was pushing my luck in a 1981 diesel Isuzu P'up. I took the exit off the interstate to get fuel at a truck stop, and as soon as I stopped at the pump, the truck died. Took me 15 minutes to bleed the air from the fuel system to get it restarted!
My Ford has 2 tanks, I always keep one of them full, because the fuel gauge hasn't worked right since 1996. It tells you if it's FULL, and EMPTY. That's all.