单项选择题

At last Iris left her house and got to the railway station, only ______ the train pulling out of the station.

A. saw
B. having seen C. to see D. to have seen