Add a test case, to make sure there is no crash on IRGen when using PCH

Related to rdar://13114142