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

-- This bogus program slipped past GHC 5.02!

module ShouldFail where

data DS = forall a. C (a -> Int)

call (C f) arg = f arg