[Git][ghc/ghc][wip/sjakobi/T11226] Add regression test for T11226