Let $\Omega \subset \Bbb R^d$ be open and $1\leq p<\infty$. Recall that $W_0^{1,p}(\Omega)$ is the closure of $C_c^\infty(\Omega)$(smooth function with compact support in $\Omega$) in $W^{1,p}(\Omega)$ where $$W^{1,p}(\Omega)= \{u\in L^p(\Omega): \nabla u \in L^p(\Omega) \}$$ is equiped with the norm $$\|u\|^p_{W^{1,p}(\Omega)}= \|u\|^p_{L^p(\Omega)} + \|\nabla u\|^p_{L^p(\Omega)}$$
Define $$W_\Omega= \{u\in W^{1,p}(\Bbb R^d): u =0 ~~a.e.~~ on~~ \Bbb R^d\setminus \Omega \}$$ Clearly $W_\Omega$ is closed subspace of $W^{1,p}(\Bbb R^d)$ and we have $W_0^{1,p}(\Omega)\subset W_\Omega$
Question: Do we have $W_0^{1,p}(\Omega)= W_\Omega$?
Or is there a counter example?