Example 4, page 65 in Matsumura's Commutative Ring Theory reads as follows:
Let $A$ be a UFD in which $2$ is a unit. Let $f \in A$ be square-free (that is, not divisible by the square of any prime of $A$). Then $A[\sqrt{f}]$ is an integrally closed domain. Proof: Let $a$ be a square root of $f$..."
Question: Since $f$ is square-free, how can it can have a square root, even in the field of fractions of $A$?
Just look at $A[x]/(x^2-f)$. Clearly $f$ has a root in this ring -- the element $x$.