A boy has done a back flip into a swimming pool while another boy watches.