[Git][ghc/ghc][wip/T26315] Add a test case for #26396