summaryrefslogtreecommitdiff
path: root/compiler/llvmGen
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-07-20 15:40:59 +0200
committerBen Gamari <ben@smart-cactus.org>2015-07-20 16:10:14 +0200
commit029367e5894d4ac3ea3845f39f2cc1b5a6a9fac1 (patch)
treebe87a08f43a67be74dcf90146ab26a0b7c9d5644 /compiler/llvmGen
parent7f37274d9f6de8c53cbf7fce3c39ad19cebdbbb5 (diff)
downloadhaskell-029367e5894d4ac3ea3845f39f2cc1b5a6a9fac1.tar.gz
Testsuite: add regression test for missing class constraint
The following program is accepted by ghc-7.0 to ghc-7.10, but rejected by ghc-6.12.3 and HEAD (and rightfully so): class Class1 a class Class1 a => Class2 a class Class2 a => Class3 a instance Class3 a => Class2 a The last line is missing a `Class1 a` constraint. Add a regression test for this (typechecker/should_fail/tcfail223). Add similar missing class constraints to T7126 and T5751. I verified that the these changes don't interfer with the intention of the tests (they still result in a loop with ghc-7.4.1). Reviewers: austin, simonpj, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D1078
Diffstat (limited to 'compiler/llvmGen')
0 files changed, 0 insertions, 0 deletions