Add test case which triggers #11003.