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

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