summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T12430.hs
blob: b5144604db1a77e5f1c3d8cad10f94b4f26e0183 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeFamilyDependencies #-}
module T12430 where

type C a = Int
type family F x = y | y -> x where
  F x = C x