summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T17648.hs
blob: 6d050c1257a76817deb75e15ec1f4161119651a9 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE GADTs #-}

module T17648 where

data T a where
  A :: T Int
  B :: T Bool

f :: T Int -> ()
f A = ()