summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/safeHaskell/safeLanguage/SafeLang10.hs
blob: ff5c168cff9c1d31c04ad2b3e6dd4a2ad8e3af64 (plain)
1
2
3
4
5
6
7
8
9
10
11
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