[Git][ghc/ghc][wip/sjakobi/T13729] Add regression test for #13729