summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T6134.hs
blob: 1421a13b89699e50cf027eb41bb1634f9c0f314e (plain)
1
2
3
4
5
6
7
8
9
{-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
{-# LANGUAGE MultiParamTypeClasses, FlexibleContexts, FunctionalDependencies #-}

module T6134 where

class C a b | a -> b 

f :: C Int b => Int -> Int
f = undefined