all.T 785 Bytes
Newer Older
1
2
3
4
5
6
7
# These tests try test the rebindable-syntax feature of GHC,
# which you get when you use -fno-implicit-prelude
#
# Written by Ashley Yakeley

# No point in doing anything except the normal way 
setTestOpts(only_ways(['normal']));
ross's avatar
ross committed
8
setTestOpts(only_compiler_types(['ghc']))
9
10
11
12
13
14
15

test('rebindable1', normal, compile, [''])
test('rebindable2', normal, compile_and_run, [''])
test('rebindable3', normal, compile_and_run, [''])
test('rebindable4', normal, compile_and_run, [''])
test('rebindable5', normal, compile_and_run, [''])
test('rebindable6', normal, compile_and_run, [''])
16
test('rebindable7', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
17
test('rebindable8', if_compiler_lt('ghc', '6.9', expect_broken(1537)),
18
                    compile, [''])
mnislaih's avatar
mnislaih committed
19
test('rebindable9', expect_broken(1537), compile, [''])