The fundamental lemma of calculus of variations tells us,
suppose $f\in L_{loc}^1\Omega\;$ and $$\int_\Omega f\varphi=0,\forall\varphi\in C^\infty_0\Omega$$ Then $f=0\text{ a.e.}$
My question is again suppose that $f\in L_{loc}^1\Omega\;$ but this time $$\int_\Omega fD^i\varphi=0,\forall\varphi\in C^\infty_0\Omega,and \; for\;all \;i$$ do we have $f=C\text{ a.e.}$?
This question is related to A variant of the fundamental lemma of calculus of variation, but in there the background is set in distributions, which I'm not familiar.