Let be the continuous triangular bump
and set . At every term is zero, and each fixed eventually lies outside the support, so pointwise. The triangle has base and height , hence
This concentrating triangular bump shows that pointwise convergence does not preserve integrals, even for continuous functions on a compact interval.