Commit ddbeeb3c authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

Add regression test for #10504

This issue was fixed at some point between GHC 8.0 and 8.2. Let's add a
regression test to ensure that it stays fixed.

Fixes #10504.
parent 72f2257c
Pipeline #27716 canceled with stages