Let's \begin{align} f(T)= &f(0)+ \int_0^T f' (t)dt\\ f(T)=&(0)+f' (T)T-\int_0^T f'' (t)tdt\\ f(T)=&(0)+f' (T)t-f'' (T) \frac{T^2}{2}+\int_0^Tf''' (t) \frac{t^2}{2} dt\\ f(T)=&f(0)+f' (T)T-f'' (T) \frac{T^2}{2}+ f'''(T)\frac{T^3}{6}- \int_0^Tf''''(t)\frac{t^3}{6} dt\\ \end{align}
If you compare this to the taylor expansion for $$f(T)=f(0)+f' (0)T+f'' (0) \frac{T^2}{2}+ f'''(0)\frac{T^3}{6}+...$$ and equate coefficients,$f'(T)=f'(0)$, $-f''(T)=f''(0)$,$f'''(T)=f'''(0)$, $-f''''(T)=f''''(0)$: the minus signs seem to indicate the function can only be trivial (for what non-trivial function would behave like this?), but that's not true so my 'derivation' must have a hole in it.