Forbid annotations when Safe Haskell safe mode is enabled.
[ghc.git] / testsuite / tests / annotations / should_fail / T10826.stderr
1
2 T10826.hs:6:1: error:
3     Annotations are not compatible with Safe Haskell.
4     See https://ghc.haskell.org/trac/ghc/ticket/10826
5     In the annotation:
6       {-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}