summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadtSyntaxFail003.hs
blob: 10c67200fc56373049770252c2896a72402c3219 (plain)
1
2
3
4
5
6
7
8
9

{-# LANGUAGE GADTSyntax #-}

module GadtSyntaxFail003 where

data Foo a b where
    C1 :: a -> Int -> c -> Foo b a
    C2 :: a -> Char -> Foo a b
    Cs :: Foo a b