I know the subject can be omitted in untensed clauses. But I've encountered with the following:
You spent more money than was intended to be spent.
Here, 'than' seems to be functioning like a relative pronoun. Compare : You spent the money that was intended. Could you please explain it with any authentic reference?