Forbid annotations when Safe Haskell safe mode is enabled.
[ghc.git] / testsuite / tests / annotations / should_fail / T10826.hs
1 {-# LANGUAGE Safe #-}
2 module Test (hook) where
3
4 import System.IO.Unsafe
5
6 {-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}
7 hook = undefined