Pakistan edge out Bangladesh by three wickets.
Pakistan reached the victory target of 247 with 11 balls to spare to beat Bangladesh by three wickets.
Sohaib Maqsood scored an unbeaten 93 from 90 deliveries to guide Pakistan past Bangaldesh's total.
Earlier, Mohammad Irfan took 5-52 to restrict Bangladesh to 246, with Mahmudullah (83) and Tamim Iqbal (81) sharing a 168-run third-wicket stand before the last four wickets fell for just 15 runs.
Pakistan overcame the loss of two early wickets to reach 247-7 in 48.1 overs, with Maqsood belting nine boundaries and two sixes and sharing important partnerships with Haris Sohail (39), Umar Akmal (39) and Shahid Afridi, who scored 24 from 20 balls near the end at the Blacktown Olympic Park Oval.
Pakistan, the 1992 champion, opens its World Cup campaign Sunday against arch-rival and defending champion India.