Op amp output as digital input

If i supply 5V to the output pin of an op amp

This begs the question as to why on earth you would want to apply a 5V power line to an output. Connecting outputs direct to a supply makes no sense. What are you trying to do?