Commit f0f1f8ef authored by simonmar's avatar simonmar
Browse files

[project @ 2005-01-20 12:39:23 by simonmar]

Simon PJ found a bug in GHC's layout processing.  Here it is.  I can't
see an easy fix right now, so I'll come back to it later.
parent 079a6d4f
......@@ -30,3 +30,4 @@ test('read023', normal, compile_fail, [''])
test('read024', normal, compile_fail, [''])
test('read025', normal, compile_fail, [''])
test('read026', normal, compile_fail, [''])
test('read027', normal, compile_fail, [''])
module ShouldFail where
-- Erroneously allowed by GHC 6.2.x
f x = case x of
False -> do
{ return x; }
-- this line should close the 'case' context and cause the 'do' to be empty.
Supports Markdown
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