I really want to know how can I check if my derivative is correct without using a calculator just to check in the exam

For ex: $x^2 + y^2 = 0$

I know that $\frac{dy}{dx} = -\frac{x}{y}$

But how can I check if it's correct in the exam if harder problems were given?