summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations/t11430.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/t11430.hs')
-rw-r--r--testsuite/tests/ghc-api/annotations/t11430.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-api/annotations/t11430.hs b/testsuite/tests/ghc-api/annotations/t11430.hs
index d8be3d1043..c7f5801d59 100644
--- a/testsuite/tests/ghc-api/annotations/t11430.hs
+++ b/testsuite/tests/ghc-api/annotations/t11430.hs
@@ -13,6 +13,7 @@ import System.IO
import GHC
import GHC.Types.Basic
import GHC.Driver.Session
+import GHC.Driver.Ppr
import GHC.Data.FastString
import GHC.Types.ForeignCall
import GHC.Utils.Monad
@@ -82,7 +83,7 @@ showAnns anns = "[\n" ++ (intercalate "\n"
$ Map.toList anns)
++ "]\n"
-pp a = showPpr unsafeGlobalDynFlags a
+pp a = showPprUnsafe a
-- ---------------------------------------------------------------------