New handling of overlapping inst in Safe Haskell
[ghc.git] / testsuite / tests / safeHaskell / overlapping / SH_Overlap3_A.hs
1 {-# LANGUAGE Safe #-}
2 {-# LANGUAGE FlexibleInstances #-}
3 module SH_Overlap3_A (
4 C(..)
5 ) where
6
7 import SH_Overlap3_B
8
9 instance
10 {-# OVERLAPS #-}
11 C [Int] where
12 f _ = "[Int]"
13