Where should a driver not pass another vehicle?

Drivers should not pass one another at a railroad crossing, in an intersection, or on a curve or hill where the visibility is less than 500 feet. Drivers should only pass where it is legal and safe to do so.
DMV Writen Test