According to Ken Thompson's lecture at his Turing Award, you can't:
https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp...
Practically speaking, you can verify that it's unlikely that there is no backdoor, but it'd take a fair bit of effort.