summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/indexed-types/should_fail/SimpleFail15.hs
blob: 586403937b1ec211daba60d5632b6010bdadb84a (plain)
1
2
3
4
5
6
{-# LANGUAGE TypeFamilies #-}

module ShouldFail where

foo :: (a,b) -> (a~b => t) -> (a,b)
foo p x = p