summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T10817.hs
blob: a9a12d0daae10841e6df129d375be49294c1a778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE TypeFamilies #-}

module T10817 where

import Data.Proxy

class C a where
  type F a
  type F a = F a

instance C Bool

x :: Proxy (F Bool)
x = Proxy