Australia batsman David Warner was given a hostile reception after being dismissed for 43 in their World Cup warm-up match against England.