summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T8018.hs
blob: c41ae810e7d965072ba854e481d8ac9bc11b3bf2 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies #-}

module T8018 where

data Foo a = Bar (F a)

type family F a where
  F (Foo a) = Bool