summaryrefslogtreecommitdiff
path: root/testsuite/tests/mdo/should_fail/mdofail005.hs
blob: b4d52918a5cdf16eb190426fca5b81ec2431a67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12


-- use of mdo requires an extension,
-- so let's try not enabling it

module Main (main) where

import Control.Monad.Fix

main :: IO ()
main = mdo x <- return (1:x)
	   return ()