blob: 427c97b0acca51b84dbb0907c95628fb20576ea4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# OPTIONS_GHC -fwarn-unsafe -Werror #-}
{-# LANGUAGE FlexibleInstances #-}
module UnsafeInfered15 where
class C a where
f :: a -> String
instance {-# OVERLAPPING #-} C a where
f _ = "a"
|