Add a test for Trac #15586
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Tue, 4 Sep 2018 13:42:52 +0000 (15:42 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Tue, 4 Sep 2018 13:42:52 +0000 (15:42 +0200)
commita3a1a17ba7ddbc40b093c732e7e3a916b9531eac
tree596a7ede779ee64f913ff64d46acd65b3d1c9759
parentdf363a646b66f4dd13d63ec70f18e427cabc8878
Add a test for Trac #15586

Summary: The bug is already fixed in master.

Test Plan: make test TEST=T15586

Reviewers: bgamari, simonpj

Reviewed By: simonpj

Subscribers: rwbarton, carter

GHC Trac Issues: #15586

Differential Revision: https://phabricator.haskell.org/D5118
testsuite/tests/typecheck/should_compile/T15586.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T