I am looking for an example of a continuous distribution function where the first moment does not exist but the characteristic function is differentiable everywhere.
Cauchy distributions do not fulfill this, as their characteristic functions are not differentiable at $0$. Does anybody here have an example?
Below, there is a discrete example because I misread the word continuous.
However, if $X$ has the density $f$ given by $$f(x)=\begin{cases}0&\mbox{ if }|x|\leqslant 2,\\ \frac C{x^2\log |x|}&\mbox{ if }|x|>2,\end{cases}$$ then $X$ is not integrable and the characteristic function is given by $$\varphi(t)=2C\int_2^{+\infty}\frac{\cos(tx)}{x^2\log x}\mathrm{d}x.$$
$$|B(t)|\leqslant -\int_0^1\frac{du}{\log u+\log t},$$ which converges to $0$ as $t$ goes to $0$.
This example is taken from Stoyanov's book Counter-examples in probability.
Take $X$ such that $$\mathbb P(X=(-1)^kk)=\frac C{k^2\log k},\quad k\geqslant 2.$$ Then $\mathbb E|X|$ is infinite, while the characteristic function
$$\varphi_X(t)=\sum_{k\geqslant 2}\frac C{k^2\log k}e^{it(-1)^kk}$$ is differentiable everywhere: compute $\varphi_X(t+h)-\varphi_X(t)$ approximating $e^{ih(-1)^kk}-1$ by $h(-1)^kk+o(h)$.