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

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