Update Trac ticket URLs to point to GitLab
[ghc.git] / testsuite / tests / rename / should_compile / rn058.hs
1 {-# LANGUAGE ForeignFunctionInterface #-}
2 {-# OPTIONS_GHC -fwarn-unused-imports #-}
3
4 -- #1386
5 -- We do not want a warning about unused imports
6
7 module Foo () where
8
9 import Control.Monad (liftM)
10
11 foo :: IO ()
12 foo = id `liftM` return ()
13
14 foreign export ccall "hs_foo" foo :: IO ()