summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T15438.hs
blob: 0f995389a0e70700b1123ffded735aad4c9e723c (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE  MultiParamTypeClasses, RankNTypes #-}

module T15438 where

class C a b

foo :: (forall a b. C a b => b -> b) -> Int
foo = error "urk"