summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail01.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/annotations/should_fail/annfail01.hs')
-rw-r--r--testsuite/tests/annotations/should_fail/annfail01.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail01.hs b/testsuite/tests/annotations/should_fail/annfail01.hs
new file mode 100644
index 0000000000..c5a8c29e5b
--- /dev/null
+++ b/testsuite/tests/annotations/should_fail/annfail01.hs
@@ -0,0 +1,5 @@
+module Annfail01 where
+-- Testing annotating things that don't exist
+
+{-# ANN type Foo (1 :: Int) #-}
+{-# ANN f (1 :: Int) #-} \ No newline at end of file