Let $M$ be a compact Riemannian manifold and $u \in L^2(M)$. we know that if for all $\varphi \in C_c^\infty(M)$, $$\int_M \varphi u = 0,$$ then $u=0$ a.e.
Suppose $$\int_M \varphi u =0$$ for all $\varphi \in C_c^\infty(M)$ with $\int_M \varphi =0$. Then does the conclusion still hold that $u=0$ a.e?
No, consider $u=1\mbox{}{}{}{}{}{}{}{}{}$.