Test for #1244: CCE in object member literal