summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.hs
blob: 42ae89e7c9573be514d8818510905177ca2a59fa (plain)
1
2
3
4
5
{-# LANGUAGE PartialTypeSignatures, GADTs #-}
module WildcardInGADT1 where

data Foo a where
  Foo :: Either a _ -> Foo a