If you wrote rubbish in exam with intension of failing the course, but the lecturer passed yu. That means you have failed at ure attempt.
So also if yu wanted to commit suicide and survived, you also have failed at ure attempt..
so, IF YOU TRIED TO FAIL BUT YOU SECCEED, YOU HAVE FAILED..
THIS IS NOT PRACTICABLE IN MY OWN OPINION. NO ONE TRIED TO FAIL EXCEPT A SUICIDE THAT BECOME "ATTEMPTED SUICIDE". CERTAINLY, HE DID NOT DIE. THEN IF ONE TRIED TO FAIL BUT SUCCEED..THAT IS SUCCESS. HE SUCCEED.