diff options
Diffstat (limited to 'testsuite/tests/ffi/should_fail/T3066.hs')
-rw-r--r-- | testsuite/tests/ffi/should_fail/T3066.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_fail/T3066.hs b/testsuite/tests/ffi/should_fail/T3066.hs new file mode 100644 index 0000000000..2d71946843 --- /dev/null +++ b/testsuite/tests/ffi/should_fail/T3066.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE ForeignFunctionInterface, RankNTypes #-} +module Foo where + +import Foreign +type X u = Ptr () +foreign import ccall bla :: (forall u. X u) -> IO () + |