summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc225.hs
blob: 7c4875668b380ede821cd889a6ec34714478ab90 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE GADTs #-}

-- Newtype in GADT syntax

module ShouldCompile where

newtype Bug a where Bug :: a -> Bug a