summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/all.T
blob: 1231c61b3452d421b165f4381639a88564b66c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
setTestOpts(only_compiler_types(['ghc']))

test('GenCanDoRep0',    normal, compile, [''])
test('GenCanDoRep1',    normal, compile, [''])
test('GenDerivOutput',  normal, compile, ['-dsuppress-uniques'])

test('GenShouldFail0',  normal, compile_fail, [''])
test('GenCannotDoRep0_0', normal, compile_fail, [''])
test('GenCannotDoRep0_1', normal, compile_fail, [''])
test('GenCannotDoRep0_2', normal, compile_fail, [''])

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_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('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'
                          ,'T7878B.o'     ,'T7878B.hi']), 
              multimod_compile, ['T7878', '-v0'])

test('T8468', normal, compile_fail, [''])
test('T8479', normal, compile, [''])