summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T15796.hs
blob: 450064d4cc6e6fc8d02f88b8ba264930661cce28 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TypeFamilies #-}
module Bug where

newtype N a where
  MkN :: Show a => a -> N a
type family T a
type instance T (N a) = N a