summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T2944.hs
blob: 19c009b0f9c5295cd9cafa835e7d957b3201c9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE TypeFamilies #-}
-- Test Trac #2944

module T2944 where

type family T a :: *

f1 :: T a ~ () => a
f1 = f2

f2 :: T a ~ () => a
f2 = f1