summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail195.hs
blob: 0b06236a52cd825ef52abc039a7c2d3b8e4c8e6b (plain)
1
2
3
4
5
6
7
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE RankNTypes, GADTs #-}

module ShouldFail where

data Foo a where
  Foo :: Int -> Foo (forall a. a)