A testcase was provided in the original review thread. This reverts commit r336098. llvm-svn: 336877