summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T20385S.hs
blob: e9f62260eba22a0d6e226864251c6b39ab88c563 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE RecursiveDo #-}
module Main where

main = pure ()

foo :: forall a. a -> a
foo x = mdo (x :: a)