Most recent war was 1971, when East Pakistan emerged as Bangladesh when all was said and done. Pakistan and India had a go at each other. Only lasted a few weeks, but they've been poking each other in the eye over Kashmir (and much else) since then with some frequency.