Fix incorrect ambiguity error on identically-named data constructors
[ghc.git] / testsuite / tests / typecheck / should_fail / T11541.hs
1 module T11541 where
2
3 g :: Ord k => k -> v -> ()
4 g k v = ()
5
6 f x y =
7 let m = min x y
8 in g m foo