Add regression test for #14040
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 12 Dec 2017 15:16:39 +0000 (10:16 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sun, 14 Jan 2018 22:07:22 +0000 (17:07 -0500)
commit0d40693654678e6a8ce8a63d198420c88e11dcff
tree8e2a9bff404f083180fe57932cc72ecd99a2e4f5
parent5124b04f10adfee6390f435a493984f2b45062d0
Add regression test for #14040

This adds a regression test for the original program in #14040.

This does not fix #14040 entirely, though, as the program in
https://ghc.haskell.org/trac/ghc/ticket/14040#comment:2 still
panics, so there is more work to be done there.

(cherry picked from commit be1ca0e439e9d26107c7d82fe6e78b64ee6320a9)
testsuite/tests/partial-sigs/should_fail/T14040a.hs [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/T14040a.stderr [new file with mode: 0644]
testsuite/tests/partial-sigs/should_fail/all.T