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

type X = forall a . a

comp :: (X -> c) -> (a -> X) -> (a -> c)
comp = (.)