diff options
author | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2014-11-20 22:41:28 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-20 22:41:29 -0600 |
commit | 7ed482d909556c1b969185921e27e3fe30c2fe86 (patch) | |
tree | 533284283c1bbfd8eb279a3d6ec913f71fb61a55 /testsuite/tests/generics/all.T | |
parent | 067f1e4f20efc824badbac54da2f9484090cb39b (diff) | |
download | haskell-7ed482d909556c1b969185921e27e3fe30c2fe86.tar.gz |
Implement #5462 (deriving clause for arbitrary classes)
Summary: (this has been submitted on behalf on @dreixel)
Reviewers: simonpj, hvr, austin
Reviewed By: simonpj, austin
Subscribers: goldfire, thomie, carter, dreixel
Differential Revision: https://phabricator.haskell.org/D476
GHC Trac Issues: #5462
Diffstat (limited to 'testsuite/tests/generics/all.T')
-rw-r--r-- | testsuite/tests/generics/all.T | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/testsuite/tests/generics/all.T b/testsuite/tests/generics/all.T index df95fa604f..694f214633 100644 --- a/testsuite/tests/generics/all.T +++ b/testsuite/tests/generics/all.T @@ -19,11 +19,15 @@ test('GenCannotDoRep1_6', normal, compile_fail, ['']) test('GenCannotDoRep1_7', normal, compile_fail, ['']) test('GenCannotDoRep1_8', normal, compile_fail, ['']) -test('T5884', normal, compile, ['']) -test('GenNewtype', normal, compile_and_run, ['']) +test('T5462Yes1', normal, multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor']) +test('T5462Yes2', normal, multimod_compile_and_run, ['T5462Yes2', '-iGFunctor']) +test('T5462No1', normal, multimod_compile_fail, ['T5462No1', '-iGFunctor']) -test('GenDerivOutput1_0', normal, compile, ['-dsuppress-uniques']) -test('GenDerivOutput1_1', normal, compile, ['-dsuppress-uniques']) +test('T5884', normal, compile, ['']) +test('GenNewtype', normal, compile_and_run, ['']) + +test('GenDerivOutput1_0', normal, compile, ['-dsuppress-uniques']) +test('GenDerivOutput1_1', normal, compile, ['-dsuppress-uniques']) test('T7878', extra_clean(['T7878A.o' ,'T7878A.hi' ,'T7878A.o-boot','T7878A.hi-boot' |