Regression test for the load-store-elimination pass, which used to remove stores too agressively.