As I was reading on potential flows (specifically a proof for Blasius' theorem), I came across a part where we had to use Bernoulli's equation, and I recalled that Bernoulli's equation was something that holds for solutions to the incompressible Euler equation (and, if we also assume irrational, then we get a stronger version of Bernoulli's equation). Then it occurred to me that we've been assuming all along that a potential flow was automatically a solution to the incompressible Euler equation.
Then, assuming our potential flow is steady, plugging in a potential flow $u$ into the Euler equation (where I "ignore" body forces and ignore the incompressibility condition, which is automatically given) we end up with
$$\frac{1}{\rho}\nabla p=-\frac{1}{2}\nabla |u|^2.$$ My question then boils down to two points:
a) In what sense exactly are we saying that a potential flow solves the Euler equation? Is it because we can put $p=-\frac{\rho}{2}|u|^2$ and make the equality above hold?
b) Related to my first question - what is a concrete example, then, of a steady incompressible flow $u$ that isn't a solution to the incompressible Euler equation? Does it boil down to finding a flow $u$ so that we can't find a scalar $p$ such that $\nabla p=-\rho(u\cdot\nabla)u$?