It is known that the only solutions to the ODE
$$f'(x)=1+\left[f(x)\right]^2$$
are of the form $f(x)=\tan(c+x)$ (this is also easy to verify by hand). This shows that the differential equation can't have a solution over $\mathbb{R}$ because $\tan (c+x)$ is undefined whenever $c+x=\frac{\pi}{2}+\pi n$ for integer $n$.
But what if I didn't know this? What if I didn't know that
$$f'(x)=1+\left[f(x)\right]^2\iff f(x)=\tan(c+x)$$
Heck, what if I've never even heard of the tangent function nor any of the other trigonometric functions? Presumably, I could prove that there can't be a solution over $\mathbb{R}$ from the ODE alone, but how would I go about doing it?
For the record, I have no idea how to approach this. From the assumption that $f$ is differentiable everywhere, nothing from the equation seems to "break": you get two everywhere-continuous functions, $f'$ and $1+f^2$, and they are equal to each other.