summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/NoBlockArguments.hs
blob: 169a460203b4c2233667f7f96ae7caa38fed3d2b (plain)
1
2
3
4
5
6
7
8
module NoBlockArguments where

-- Make sure things parse normally
f  :: a -> a
f = id

foo :: [Int]
foo = f [x | x <- [1 .. 10]]