diff options
Diffstat (limited to 'testsuite/tests/annotations/should_fail/annfail12.hs')
-rw-r--r-- | testsuite/tests/annotations/should_fail/annfail12.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail12.hs b/testsuite/tests/annotations/should_fail/annfail12.hs new file mode 100644 index 0000000000..7fe23073d1 --- /dev/null +++ b/testsuite/tests/annotations/should_fail/annfail12.hs @@ -0,0 +1,6 @@ +module Annfail12 where + +-- Testing errors hidden in annotations + +{-# ANN f (error "You were meant to see this error!" :: Int) #-} +f x = x
\ No newline at end of file |