summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail196.hs
blob: a88f3c7f44a7760c9612ddd4da4d737eaa211ed6 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE RankNTypes #-}

module ShouldFail where

bar :: Num (forall a. a) => Int -> Int
bar = error "urk"