Add the testcase from pr23900.