diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08_A.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08_A.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08_A.hs b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08_A.hs new file mode 100644 index 0000000000..13f22ce3d7 --- /dev/null +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered08_A.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE OverlappingInstances #-} +-- | Unsafe as uses overlapping instances +-- Although it isn't defining any so can we mark safe +-- still? +module UnsafeInfered08_A where + +g :: Int +g = 1 + |