all.T 1.63 KB
Newer Older
1

2
test('read001', normal, compile_fail, [''])
3
test('read002', normal, compile_fail, [''])
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
test('read003', normal, compile_fail, [''])
test('read004', normal, compile_fail, [''])
test('read005', normal, compile_fail, [''])
test('read006', normal, compile_fail, [''])
test('read007', normal, compile_fail, [''])
test('read008', normal, compile_fail, [''])
test('read009', normal, compile_fail, [''])
# test10: missing
test('read011', normal, compile_fail, [''])
test('read012', normal, compile_fail, [''])
test('read013', normal, compile_fail, ['-fglasgow-exts'])
test('read014', normal, compile_fail, [''])
test('read015', normal, compile_fail, [''])
test('read016', normal, compile_fail, [''])
test('read017', normal, compile_fail, [''])
test('read018', normal, compile_fail, [''])
test('read019', normal, compile_fail, [''])
test('read020', normal, compile_fail, [''])
22

ross's avatar
ross committed
23
# empty file (length zero) is not a legal Haskell module.  It fails to compile
24 25
# because it doesn't contain a definition of Main.main.  GHC 5.02 crashed
# on this example.
ross's avatar
ross committed
26
test('read021', expect_fail_if_compiler_type('hugs'), compile_fail, [''])
27

28 29
test('read022', normal, compile_fail, [''])
test('read023', normal, compile_fail, [''])
30
test('read024', normal, compile_fail, [''])
31
test('read025', normal, compile_fail, [''])
32
test('read026', normal, compile_fail, [''])
33 34 35

# Fails in GHC 6.2+
test('read027', expect_fail_if_compiler_type('ghc'), compile_fail, [''])
36 37

test('read028', normal, compile_fail, [''])
38 39
test('read029', normal, compile_fail, [''])
test('read030', normal, compile_fail, [''])
40
test('read031', normal, compile_fail, [''])
Ian Lynagh's avatar
Ian Lynagh committed
41
test('read032', expect_broken(314), compile_fail, ['-cpp'])