The incident happened just before midnight near Rochester Street and Gladstone Avenue.
Police said the vehicle was a dark, four-door Mercedes. After the officer fired the gun, the car sped away.
No one was hurt, police said.
Police won't say why officers were in the area, but added that it isn't connected to Saturday's homicide investigation.