summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.hs
blob: 383115ef551b58998f44f3fc5c8c90de95d760ab (plain)
1
2
3
4
5
{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-}
module NamedWildcardsNotInMonotype where

foo :: (Show _a, Eq _c, Eq _b) => _a -> _b -> String
foo x y = show x ++ show (x == y)