FR 3929 then FR 7539 at Barcelona
Trieste → Barcelona → Milan
Timetable, Barcelona time
15:30FR 3929 from Trieste at the gate
08:40FR 7539 to Milan leaves the gate
17 h 10 apart on the timetable, overnight
FR 7539 leaves 17 h 10 after FR 3929 arrives on the timetable: more than half a day, so not a connection we count.