summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T19107.hs
blob: c90ccbf2079a4b7123ae32c576a886aa36d75fab (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE GADTs #-}
-- NB: NO FlexibleContexts

module T19107 where

data T a where
  MkT :: Show a => [a] -> T a

f (MkT x) = show x