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

module ShouldFail where

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