summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/module/T1074.hs
blob: 6cd647ba6da76b406b9d568b2337bbba0a57e943 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS_GHC -fwarn-unused-imports #-}
module Test where

import qualified Control.Monad (ap)
import qualified Control.Monad.Reader

foo :: IO ()
foo = return id `Control.Monad.ap` return ()