China has warned of a grim outlook for trade as the world's second-largest economy surprised financial markets by reporting a fall in exports and imports when both had been expected to rise. The June data showed that exports fell 3.1% from a year earlier and imports dropped 0.7%, according to customs officials.