Commit f47c2d85 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-18 11:14:20 by simonmar]

add do parsing test
parent e7175f7d
......@@ -33,3 +33,5 @@ test('read026', normal, compile_fail, [''])
# Fails in GHC 6.2+
test('read027', expect_fail_if_compiler_type('ghc'), compile_fail, [''])
test('read028', normal, compile_fail, [''])
module ShouldFail where
-- !!! do must end in an expression
main = do x <- return ()
read028.hs:4:10: The last statement in a 'do' construct must be an expression
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