summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p18.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/p18.script')
-rw-r--r--testsuite/tests/safeHaskell/ghci/p18.script10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/p18.script b/testsuite/tests/safeHaskell/ghci/p18.script
new file mode 100644
index 0000000000..445dffa9a0
--- /dev/null
+++ b/testsuite/tests/safeHaskell/ghci/p18.script
@@ -0,0 +1,10 @@
+-- Test :issafe works
+:unset +s
+
+-- first without package trust
+:issafe Data.ByteString
+
+-- now with package trust
+:set -fpackage-trust
+:issafe Data.ByteString
+