Regression test for PR12699