ghc-exactprint-1.14.0.0: tests/examples/pre-ghc910/T8799.hs
{-# LANGUAGE FlexibleContexts #-}
module T8555 where
import Data.Coerce
foo :: Coercible a b => b -> a
foo = coerce
bar :: (Coercible a b, Coercible b c) => b -> c -> a
bar b c = coerce c