summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/T7506.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_fail/T7506.stderr')
-rw-r--r--testsuite/tests/ffi/should_fail/T7506.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/ffi/should_fail/T7506.stderr b/testsuite/tests/ffi/should_fail/T7506.stderr
index 9a1aa25a8e..c2a70ff345 100644
--- a/testsuite/tests/ffi/should_fail/T7506.stderr
+++ b/testsuite/tests/ffi/should_fail/T7506.stderr
@@ -1,8 +1,8 @@
-T7506.hs:6:1:
- Unacceptable type in foreign declaration:
- ‘Int -> IO ()’ cannot be marshalled in a foreign call
- A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a)
- When checking declaration:
- foreign import ccall safe "stdio.h &putchar" c_putchar
- :: Int -> IO ()
+T7506.hs:6:1: error: [GHC-26070]
+ • Unacceptable type in foreign declaration:
+ ‘Int -> IO ()’ cannot be marshalled in a foreign call
+ A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a)
+ • When checking declaration:
+ foreign import ccall safe "stdio.h &putchar" c_putchar
+ :: Int -> IO ()