FR 6266 then FR 774 at Barcelona
Edinburgh → Barcelona → Torino
Timetable, Barcelona time
21:20FR 6266 from Edinburgh at the gate
16:25FR 774 to Torino leaves the gate
19 h 05 apart on the timetable, overnight
FR 774 leaves 19 h 05 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.