summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T10423.hs
blob: 5a8ff0251f414b79128f7d0f592f44984bdcfe7b (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE FlexibleInstances, TypeFamilies, MultiParamTypeClasses #-}

module T10423 where

class Monad m => Testable m a

newtype Prop m = MkProp (m Int)

instance (Monad m, m ~ n) => Testable n (Prop m)