The PR added a Sema test with a minimal test case; add a bigger test more closely resembling the original snippet and make sure it gets all the way through IRGen.