summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/T10826.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/annotations/should_fail/T10826.hs')
-rw-r--r--testsuite/tests/annotations/should_fail/T10826.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_fail/T10826.hs b/testsuite/tests/annotations/should_fail/T10826.hs
new file mode 100644
index 0000000000..cddf33ca6f
--- /dev/null
+++ b/testsuite/tests/annotations/should_fail/T10826.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Safe #-}
+module Test (hook) where
+
+import System.IO.Unsafe
+
+{-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-}
+hook = undefined