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