summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs')
-rw-r--r--testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs b/testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs
new file mode 100644
index 0000000000..4e20f177bf
--- /dev/null
+++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang09.hs
@@ -0,0 +1,10 @@
+module Main where
+
+import SafeLang09_A -- trusted lib
+import SafeLang09_B -- untrusted plugin
+
+main = do
+ let r = res [(1::Int)]
+ putStrLn $ "Result: " ++ show r
+ putStrLn $ "Result: " ++ show function
+