chaoren abandoned this revision. chaoren added a comment. Yes, http://reviews.llvm.org/rL243301 does make references print correctly. This change won't be necessary anymore. It seems like it'd be nice to have a test case regardless. Could you please add a test case for your change? http://reviews.llvm.org/D11498