$A$ is a subset of a topological space $X$, in which $U$ is open.
I'm asking because I was looking at these exercises (this is the last one), and it specifies that $X$ is Hausdorff.
Here's my attempt of a proof:
'$\Rightarrow$':
$\emptyset \subseteq (U \cap A) \subseteq (U \cap \overline{A})$.
'$\Leftarrow$':
For any point $x\in U \cap \overline{A}$, every open set $U_x\ni x$ is such that $U_x \cap A \neq \emptyset$. As $U\ni x$, $U\cap A\neq \emptyset$ follows.
I haven't used the fact that $X$ is Hausdorff though. Have I made any 'illegal' assumptions, or fallacious deductions?