Add tests for autoderef on block tail ref: https://github.com/rust-lang/rust/pull/83850#issuecomment-1270598506