summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/annotations-literals/parsed.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/annotations-literals/parsed.hs')
-rw-r--r--testsuite/tests/ghc-api/annotations-literals/parsed.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-api/annotations-literals/parsed.hs b/testsuite/tests/ghc-api/annotations-literals/parsed.hs
index 620bf0451e..3b35373f93 100644
--- a/testsuite/tests/ghc-api/annotations-literals/parsed.hs
+++ b/testsuite/tests/ghc-api/annotations-literals/parsed.hs
@@ -9,6 +9,7 @@ import Data.List (intercalate)
import System.IO
import GHC
import GHC.Driver.Session
+import GHC.Driver.Ppr
import GHC.Utils.Monad
import GHC.Utils.Outputable
import GHC.Data.Bag (filterBag,isEmptyBag)
@@ -71,7 +72,7 @@ testOneFile libdir fileName = do
= ["HsIsString [" ++ src ++ "] " ++ show c]
doOverLit _ = []
-pp a = showPpr unsafeGlobalDynFlags a
+pp a = showPprUnsafe a
-- ---------------------------------------------------------------------