diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2021-03-10 15:28:48 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-03-10 16:58:50 -0500 |
commit | 115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2 (patch) | |
tree | 19214707fa15f127d05ae515c74cff7e85776a7c /testsuite/tests/ffi | |
parent | 30ccf9ed1f592531dac9f3d750278fac6303c3e4 (diff) | |
download | haskell-115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2.tar.gz |
Use GHC2021 as default language
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r-- | testsuite/tests/ffi/should_fail/T3066.hs | 1 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_fail/T3066.stderr | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/tests/ffi/should_fail/T3066.hs b/testsuite/tests/ffi/should_fail/T3066.hs index 2d71946843..17f2914ea1 100644 --- a/testsuite/tests/ffi/should_fail/T3066.hs +++ b/testsuite/tests/ffi/should_fail/T3066.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE Haskell2010 #-} {-# LANGUAGE ForeignFunctionInterface, RankNTypes #-} module Foo where diff --git a/testsuite/tests/ffi/should_fail/T3066.stderr b/testsuite/tests/ffi/should_fail/T3066.stderr index 3b6c3f9b47..280905136a 100644 --- a/testsuite/tests/ffi/should_fail/T3066.stderr +++ b/testsuite/tests/ffi/should_fail/T3066.stderr @@ -1,6 +1,6 @@ -T3066.hs:6:1: - Unacceptable argument type in foreign declaration: - ‘forall u. Ptr ()’ is not a data type - When checking declaration: - foreign import ccall safe bla :: (forall u. X u) -> IO () +T3066.hs:7:1: error: + • Unacceptable argument type in foreign declaration: + ‘forall u. Ptr ()’ is not a data type + • When checking declaration: + foreign import ccall safe bla :: (forall u. X u) -> IO () |