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

module T12468 where

data T a where
    I :: T Int

f :: T a -> a
f I = _