summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T2615.hs
blob: ee04d93bcf7e351584af824331a65611733938b7 (plain)
1
2
3
4
5
6
7
8
9
import ObjLink

library_name = "libfoo_script_T2615.so" -- this is really a linker script

main = do
  result <- loadDLL library_name
  case result of
    Nothing -> putStrLn (library_name ++ " loaded successfully")
    Just x  -> putStrLn ("error: " ++ x)