# I know one when I see one

Suppose $f\in C^\infty([0,1])$ is such that for each $x\in[0,1]$, $f^{(n)}(x)$ is eventually zero. Then $f$ is a polynomial.