Add a minimized regression test for #12928

Authored by int-index on Wed, May 8, 1:47 PM.