He said that he had gone to the dentist that day.
My teacher said that we would have an exam the following week.