summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail166.hs
blob: 5a2d4b8df7f7ec35cacc717cf302ee0db784cc1f (plain)
1
2
3
4
5
6
-- Without -XScopedTypeVariables, this should fail

module ShouldFail where

destroy :: (forall a. (a -> Maybe (b,a)) -> a -> c) -> [b] -> c
destroy = error "urk"