diff options
author | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:13:33 +0100 |
---|---|---|
committer | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:13:49 +0100 |
commit | 686628d242e497a746d6272247445def6b6a2485 (patch) | |
tree | 772364e12390647df0a2bfae0b863c8daea60ef8 /testsuite/tests/generics/all.T | |
parent | 9d3bf7df0d059cb4b5273edd73a0eb9bb0a856eb (diff) | |
download | haskell-686628d242e497a746d6272247445def6b6a2485.tar.gz |
Add tests for deriving Generic1
Most of these tests were written by Nicolas Frisby.
Diffstat (limited to 'testsuite/tests/generics/all.T')
-rw-r--r-- | testsuite/tests/generics/all.T | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/generics/all.T b/testsuite/tests/generics/all.T index 2382d8b42f..1541a4725c 100644 --- a/testsuite/tests/generics/all.T +++ b/testsuite/tests/generics/all.T @@ -1,6 +1,7 @@ setTestOpts(only_compiler_types(['ghc'])) test('GenCanDoRep0', normal, compile, ['']) +test('GenCanDoRep1', normal, compile, ['']) test('GenDerivOutput', normal, compile, ['-dsuppress-uniques']) test('GenShouldFail0', normal, compile_fail, ['']) @@ -8,3 +9,18 @@ test('GenCannotDoRep0', normal, compile_fail, ['']) test('GenCannotDoRep1', normal, compile_fail, ['']) test('GenCannotDoRep2', normal, compile_fail, ['']) test('T5884', normal, compile, ['']) + +test('GenCanDoRep1_0', normal, compile, ['']) +test('GenDerivOutput1_0', normal, compile, ['-dsuppress-uniques']) +test('GenDerivOutput1_1', normal, compile, ['-dsuppress-uniques']) + +test('GenShouldFail1_0', normal, compile_fail, ['']) +test('GenCannotDoRep1_0', normal, compile_fail, ['']) +test('GenCannotDoRep1_1', normal, compile_fail, ['']) +test('GenCannotDoRep1_2', normal, compile_fail, ['']) +test('GenCannotDoRep1_3', normal, compile_fail, ['']) +test('GenCannotDoRep1_4', normal, compile_fail, ['']) +test('GenCannotDoRep1_5', normal, compile_fail, ['']) +test('GenCannotDoRep1_6', normal, compile_fail, ['']) +test('GenCannotDoRep1_7', normal, compile_fail, ['']) +test('GenCannotDoRep1_8', normal, compile_fail, [''])
\ No newline at end of file |