Added test for r172599 which fixes bugzilla://14584,rdar://11744105.