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

data Foo a where
  Foo :: (Eq a, _) => Maybe a -> Foo a