summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T9097.hs
blob: b18b90b5f351d9a9f992c5aab2dd69b2e2d377e3 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TypeFamilies, DataKinds #-}

module T9097 where

import GHC.Exts

type family Foo x where
  Foo True = False
  Foo False = False
  Foo Any = True