summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T15499.hs
blob: 653440aaccca52af0019a1f9f1ce59cbf04717cb (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE DataKinds, GADTs, KindSignatures #-}
module T15499 ()
where

data ADT (p :: Integer) where
  ADT ::
    { a :: a
    , b :: Integer
    } -> ADT p

foo = undefined {b=undefined}