diff options
author | David Terei <davidterei@gmail.com> | 2011-10-19 12:15:17 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-10-25 14:47:31 -0700 |
commit | ed0bb9bef3338d143bf27945123e3fe4cf7d0047 (patch) | |
tree | 8a59b3eb5e71031d330adf512c01a4eb0d98d809 /testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs | |
parent | a4a8a28f57dbcc4fac9cb2a5a6f326af65964366 (diff) | |
download | haskell-ed0bb9bef3338d143bf27945123e3fe4cf7d0047.tar.gz |
Modify and add a bunch of new tests for Safe Haskell changes
Diffstat (limited to 'testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs b/testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs new file mode 100644 index 0000000000..fff3286de5 --- /dev/null +++ b/testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs @@ -0,0 +1,10 @@ +-- | Only uses deriving of Typeable so should be considered safe +module SafeInfered02_A where + +import Data.Typeable + +data G = G Int deriving (Typeable) + +f :: Int +f = 1 + |