summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T7384.hs
blob: d717b4765d2459fcdcfb2ab3a09b933be1e6e411 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE FunctionalDependencies, PolyKinds #-}

module T7384 where

class Baz a b | a -> b where
   bar :: a -> ()

instance Baz Bool Bool where
   bar _ = ()

foo = bar False