diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/safeLanguage/SafeLang10.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeLanguage/SafeLang10.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.hs b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.hs new file mode 100644 index 0000000000..ff5c168cff --- /dev/null +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE SafeImports #-} +module Main where + +import safe SafeLang10_A -- trusted lib +import safe SafeLang10_B -- untrusted plugin + +main = do + let r = res [(1::Int)] + putStrLn $ "Result: " ++ show r + putStrLn $ "Result: " ++ show function + + |