Add regression test for #12104
authorRyan Scott <ryan.gl.scott@gmail.com>
Fri, 28 Apr 2017 17:24:11 +0000 (13:24 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 28 Apr 2017 17:24:24 +0000 (13:24 -0400)
commit69b9b853e3e68191cdfa8aec0e4da966298a2659
tree3fb474d86a0866c006f662003ff9b8ac2bbce99e
parentba597c1dd1daf9643b72dc7aeace8d6b3fce84eb
Add regression test for #12104

Commit 2f9f1f86849ebc18af409c9b3fd809c9cd464021
(#13487) fixes #12104 as well. This adds a regression test for the
program reported in #12104 to keep it fixed.

Test Plan: make test TEST=T12104

Reviewers: bgamari, austin

Reviewed By: bgamari

Subscribers: rwbarton, thomie

GHC Trac Issues: #12104

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