summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-03-10 15:28:48 -0500
committerBen Gamari <ben@smart-cactus.org>2021-03-10 16:58:50 -0500
commit115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2 (patch)
tree19214707fa15f127d05ae515c74cff7e85776a7c /testsuite/tests/annotations
parent30ccf9ed1f592531dac9f3d750278fac6303c3e4 (diff)
downloadhaskell-115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2.tar.gz
Use GHC2021 as default language
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_fail/T10826.hs1
-rw-r--r--testsuite/tests/annotations/should_fail/T10826.stderr10
2 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/tests/annotations/should_fail/T10826.hs b/testsuite/tests/annotations/should_fail/T10826.hs
index cddf33ca6f..1c80713da4 100644
--- a/testsuite/tests/annotations/should_fail/T10826.hs
+++ b/testsuite/tests/annotations/should_fail/T10826.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE Safe #-}
module Test (hook) where
diff --git a/testsuite/tests/annotations/should_fail/T10826.stderr b/testsuite/tests/annotations/should_fail/T10826.stderr
index 465715ad3e..15ba942e81 100644
--- a/testsuite/tests/annotations/should_fail/T10826.stderr
+++ b/testsuite/tests/annotations/should_fail/T10826.stderr
@@ -1,6 +1,6 @@
-T10826.hs:6:1: error:
- Annotations are not compatible with Safe Haskell.
- See https://gitlab.haskell.org/ghc/ghc/issues/10826
- In the annotation:
- {-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}
+T10826.hs:7:1: error:
+ • Annotations are not compatible with Safe Haskell.
+ See https://gitlab.haskell.org/ghc/ghc/issues/10826
+ • In the annotation:
+ {-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}