I'm trying to look for an example of a function such that:
$$ 1. \displaystyle{\int \limits_{- \infty }^{+ \infty }} \lvert x(t) \rvert \, dt < + \infty $$
$$ 2. \displaystyle{\int \limits_{- \infty }^{+ \infty }} \lvert x(t) \rvert^2 \, dt = + \infty $$
Thank you for your willingness.
$x(t)=\frac 1 {\sqrt t}$ for $0<t<1$ and $0$ for all other values of $t$.