summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs
blob: 6c791b0f953f267787a19633445312d3119e0e6a (plain)
1
2
3
4
5
6
7
module NoBlockArgumentsFail where

import Control.Monad

foo :: IO ()
foo = when True do
  return ()