Diesel is the equivalent of ~25 octane with a much higher boiling point and higher viscosity. Assuming it doesn't clog the pump, it would be very difficult to vaporize in a gas engine's low compression (relative) environment which would make ignition difficult, if not impossible, and potentially destructive if it does react to the spark.
This happened to a someone I know down in Florida. As soon as he got on the gas to leave the parking lot, it started misfiring horribly and died. Drained the tank and put in gas, no luck. Pulled the plugs and they were wet with diesel. Worse though, looking in the cylinder with a bore scope and light spotted a busted top ringland on one of the pistons. Pulling the valve cover showed the exhaust rocker had over .050" clearance off the valve stem. A teardown of the head showed a chunk of the piston crown got caught in the exhaust valve, embedded itself in the valve seat, and bent the valve.