Commit 263e0f51 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

And and update RelaxedLayout tests

parent 808d4a1f
...@@ -80,6 +80,7 @@ test('read065', omit_ways(['optc', 'profc']), compile, ['']) ...@@ -80,6 +80,7 @@ test('read065', omit_ways(['optc', 'profc']), compile, [''])
test('read066', normal, compile, ['']) test('read066', normal, compile, [''])
test('read067', normal, compile, ['']) test('read067', normal, compile, [''])
test('read068', normal, compile, ['']) test('read068', normal, compile, [''])
test('read069', normal, compile, [''])
test('read_1821', normal, compile, ['']) test('read_1821', normal, compile, [''])
test('T3303', extra_clean(['T3303A.hi', 'T3303A.o']), test('T3303', extra_clean(['T3303A.hi', 'T3303A.o']),
multimod_compile, ['T3303', '-v0']) multimod_compile, ['T3303', '-v0'])
......
{-# LANGUAGE RelaxedLayout #-}
module ShouldFail where
f x = case x of
False -> do
{ return x; }
...@@ -30,10 +30,7 @@ test('readFail023', normal, compile_fail, ['']) ...@@ -30,10 +30,7 @@ test('readFail023', normal, compile_fail, [''])
test('readFail024', normal, compile_fail, ['']) test('readFail024', normal, compile_fail, [''])
test('readFail025', normal, compile_fail, ['']) test('readFail025', normal, compile_fail, [''])
test('readFail026', normal, compile_fail, ['']) test('readFail026', normal, compile_fail, [''])
test('readFail027', normal, compile_fail, [''])
# Fails in GHC 6.2+
test('readFail027', if_compiler_type('ghc', expect_broken(1060)), compile_fail, [''])
test('readFail028', normal, compile_fail, ['']) test('readFail028', normal, compile_fail, [''])
test('readFail029', normal, compile_fail, ['']) test('readFail029', normal, compile_fail, [''])
test('readFail030', normal, compile_fail, ['']) test('readFail030', normal, compile_fail, [''])
......
{-# LANGUAGE NoRelaxedLayout #-}
module ShouldFail where module ShouldFail where
-- Erroneously allowed by GHC 6.2.x -- Erroneously allowed by GHC 6.2.x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment