summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags/SafeFlags17.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-10-19 12:15:17 -0700
committerDavid Terei <davidterei@gmail.com>2011-10-25 14:47:31 -0700
commited0bb9bef3338d143bf27945123e3fe4cf7d0047 (patch)
tree8a59b3eb5e71031d330adf512c01a4eb0d98d809 /testsuite/tests/safeHaskell/flags/SafeFlags17.hs
parenta4a8a28f57dbcc4fac9cb2a5a6f326af65964366 (diff)
downloadhaskell-ed0bb9bef3338d143bf27945123e3fe4cf7d0047.tar.gz
Modify and add a bunch of new tests for Safe Haskell changes
Diffstat (limited to 'testsuite/tests/safeHaskell/flags/SafeFlags17.hs')
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags17.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags17.hs b/testsuite/tests/safeHaskell/flags/SafeFlags17.hs
new file mode 100644
index 0000000000..3f4651b2f4
--- /dev/null
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags17.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE Safe #-}
+{-# OPTIONS_GHC -fpackage-trust #-}
+-- | Basic test to see if Safe flags compiles
+module SafeFlags15 where
+
+f :: Int
+f = 1
+