[project @ 1999-06-09 09:35:54 by simonpj]
[ghc-hetmet.git] / ghc / tests / reader / should_fail / expr001.hs
1 {-
2 From: Kevin Hammond <kh>
3 To: partain
4 Subject: Re:  parsing problem w/ queens
5 Date: Wed, 9 Oct 91 17:31:46 BST
6
7 OK, I've fixed that little problem by disallowing,
8 -}
9 module Test where
10
11 f x = x + if c then 1 else 2
12 f x = x + 1::Int
13
14 -- (the conditional/sig need to be parenthesised).  If this is
15 -- problematic, let me know!