summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T8555.hs
blob: c5e817b4670919cb9c80fd09aac1a93319034dad (plain)
1
2
3
4
5
6
7
{-# LANGUAGE FlexibleContexts #-}

module T8555 where
import Data.Coerce

foo :: Coercible [a] [b] => a -> b
foo = coerce