[Git][ghc/ghc][ghc-10.0] 161 commits: Add test for #25636