$$f(x,y)~=~ (a\,x)^2 +(b\,y)^2-\cos c\,x \,\cos d\,y$$ for $a,b,c,d\in \mathbb{R}$, where $a,b$ are sufficiently small.