summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/compiler/T5837.hs
blob: c2d0f1036675d7135c078ab1019c91197561e177 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE AllowAmbiguousTypes, TypeFamilies #-}

module T5837 where

type family TF a :: *
type instance TF (a,b) = (TF a, TF b)

t :: (a ~ TF (a,Int)) => Int
t = undefined