[Git][ghc/ghc][wip/T27078] 10 commits: Add test for #25636