AA 40 then VY 1084 at Barcelona
Chicago → Barcelona → Basel
Timetable, Barcelona time
09:35AA 40 from Chicago at the gate
08:45VY 1084 to Basel leaves the gatealso QR 3771, IB 5036, LL 5036
23 h 10 apart on the timetable, overnight
VY 1084 leaves 23 h 10 after AA 40 arrives on the timetable: more than half a day, so not a connection we count.