If you put gasoline to your diesel car, if you put solid gasoline and you will empty the filters and injection pump it will not start because diesel engine is need air and fuel mixture.
Now, if you mixed the gasoline to diesel, your engine run for a few minutes only then it will stop and this will damages to your delivery valves and nozzle pin or it will cause inter damage of your engine.
gasoline and diesel are such different fuels, gasoline engines are not intended to run on diesel fuel. Attempting to do so can cause a host of problems.
Most likely, a gasoline engine will simply not run at all in this situation. The diesel fuel is likely to clog the fuel lines, fuel filters and fuel injectors. If the engine does run, it will likely give very poor performance. Because the cylinders in a gas engine do not produce the same temperatures and pressures as those in a diesel engine, the diesel fuel will not ignite properly, and can damage the engines timing cycle and the cylinder linings.