https://github.com/ilovepi approved this pull request. LGTM. IMO this is a much nicer way to test a property on `stdin`'s positioning. Lets get a bit more consensus from other maintainers before landing though. https://github.com/llvm/llvm-project/pull/157232