summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_fail/T3066.hs
blob: 2d719468439e28dde8af68a62edff7dc6823f790 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE ForeignFunctionInterface, RankNTypes #-}
module Foo where

import Foreign
type X u = Ptr ()
foreign import ccall bla :: (forall u. X u) -> IO ()