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/UnsafeInfered03_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/UnsafeInfered03_A.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03_A.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03_A.hs b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03_A.hs new file mode 100644 index 0000000000..ea3202ed5d --- /dev/null +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03_A.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE GeneralizedNewtypeDeriving #-} +-- | Unsafe as uses GND +module UnsafeInfered03_A where + +f :: Int +f = 1 + |