Hi Staigen and Enac,
You are both right.
With input=5v, inv input=5v, output =5v and no current flows through the resistors.
With input = 2.5v, inv input=2.5v, output=0v because current flows through both resistors and giving equal voltage drop across each. So inv input is 2.5v below +rail...