summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/ADT.hs
blob: 476bf55611d778bf4e8ce4473e672e12cdd2c838 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE PartialTypeSignatures #-}
module ADT where

data Foo x y z = Foo x y z

bar :: Int -> _ Int
bar x = Foo True () x