[Git][ghc/ghc][wip/sjakobi/regression-tests-3] Add regression test for #13180