summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/T10826.hs
blob: 1c80713da4be81ad9ca05b2e6adc80ee1a3dc679 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE Safe #-}
module Test (hook) where

import System.IO.Unsafe

{-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}
hook = undefined