summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T23022.hs
blob: 778c26d8fae7c1139cb5640dc0de61f180f8705b (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeData #-}
module B where

type data T a b where
  MkT :: T a a

f :: T a b -> T a b
f x = x