40 total cases of infection have been confirmed in Shanghai. (File)

China's deadly viral contagion has killed one person in Shanghai, the city's government said on Sunday, the first reported death in the country's financial hub.

The victim was an 88-year-old man who was already suffering from pre-existing health problems, a Shanghai government statement said, adding that so far 40 total cases of infection have been confirmed in the city.