Suppose $f$ is a test function and thus compactly supported on some set $S$. Its Fourier transform is
\begin{equation} \widehat{f}(p) = \int_{-\infty}^{\infty} dx \, e^{ipx} f(x) \, . \end{equation}
Is it possible for this Fourier transform $\widehat{f}$ to vanish on some interval $(a,b)$?
I have tried a number of things and believe that this should not be possible, also with regard to this question. More generally, is this possible if $f$ is a Schwartz function?
I would also appreciate if anyone could direct me to a general discussion of the relation between the support of a function and that of its Fourier transform.