Update examples
This commit is contained in:
12
testsuite/hier/hier4/Main.hs
Normal file
12
testsuite/hier/hier4/Main.hs
Normal file
@ -0,0 +1,12 @@
|
||||
module Main where
|
||||
|
||||
import System.Plugins
|
||||
|
||||
main = do
|
||||
|
||||
makeAll "A.hs" []
|
||||
|
||||
y <- load "A.o" ["."] [] "u"
|
||||
case y of
|
||||
LoadSuccess _ _ -> putStrLn $ "YES"
|
||||
LoadFailure e -> mapM_ putStrLn e
|
Reference in New Issue
Block a user