Fold testsuite.git into ghc.git (re #8545)
[ghc.git] / testsuite / tests / rebindable / all.T
1 # These tests try test the rebindable-syntax feature of GHC,
2 # which you get when you use -XNoImplicitPrelude
3 #
4 # Written by Ashley Yakeley
5
6 # No point in doing anything except the normal way 
7 setTestOpts(only_ways(['normal']));
8 setTestOpts(only_compiler_types(['ghc']))
9
10 test('rebindable1', normal, compile, [''])
11 test('rebindable2', normal, compile_and_run, [''])
12 test('rebindable3', normal, compile_and_run, [''])
13 test('rebindable4', normal, compile_and_run, [''])
14 test('rebindable5', normal, compile_and_run, [''])
15
16 # rebindable6 has become expected failures
17 # following Trac #1537
18 test('rebindable6', normal, compile_fail, [''])
19
20 test('rebindable7', normal, compile_and_run, [''])
21 test('rebindable8', normal, compile, [''])
22 test('rebindable9', normal, compile, [''])
23 test('rebindable10', normal, compile_and_run, [''])
24
25 test('T303', normal, compile, [''])
26
27 # Tests from Oleg
28 test('DoRestrictedM', normal, compile, [''])
29 test('DoParamM', reqlib('mtl'), compile_fail, [''])
30 test('T5038', normal, compile_and_run, [''])
31 test('T4851', normal, compile, [''])
32
33 test('T5821', normal, compile, [''])