diff options
Diffstat (limited to 'testsuite/tests/rts/T2615.hs')
-rw-r--r-- | testsuite/tests/rts/T2615.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T2615.hs b/testsuite/tests/rts/T2615.hs new file mode 100644 index 0000000000..ee04d93bcf --- /dev/null +++ b/testsuite/tests/rts/T2615.hs @@ -0,0 +1,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) |