diff options
Diffstat (limited to 'testsuite/tests/annotations/should_fail/annfail13.hs')
-rw-r--r-- | testsuite/tests/annotations/should_fail/annfail13.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail13.hs b/testsuite/tests/annotations/should_fail/annfail13.hs new file mode 100644 index 0000000000..0de17ce5c0 --- /dev/null +++ b/testsuite/tests/annotations/should_fail/annfail13.hs @@ -0,0 +1,6 @@ +module Annfail13 where +-- Testing that brackets are mandatory in the ANN syntax + +{-# ANN f id 1 #-} +{-# ANN f 1 :: Int #-} +f x = x
\ No newline at end of file |