summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T7974.hs
blob: e72f62ae25162942736758fba2269f5893054f75 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE GADTs #-}
module T7974 where

data X a where
   N :: (a ~ b) => X a

k :: X a -> X b
k N = N