Merge non-moving garbage collector
[ghc.git] / testsuite / tests / typecheck / should_compile / T11525_Plugin.hs
1 module T11525_Plugin(plugin) where
2
3 import TcRnMonad ( TcPlugin(..), TcPluginResult(..) )
4 import Plugins ( defaultPlugin, Plugin(..), CommandLineOption )
5
6 plugin :: Plugin
7 plugin = defaultPlugin { tcPlugin = Just . thePlugin }
8
9 thePlugin :: [CommandLineOption] -> TcPlugin
10 thePlugin opts = TcPlugin
11 { tcPluginInit = return ()
12 , tcPluginSolve = \_ _ _ _ -> return $ TcPluginOk [] []
13 , tcPluginStop = \_ -> return ()
14 }