summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail156.hs
blob: 7956c5b76aa729388e656976206089423dd0c7e3 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE ExistentialQuantification #-}

-- Illegal existential context on a newtype

module ShouldFail where

newtype Foo = forall a . Foo a