diff options
Diffstat (limited to 'testsuite/tests/annotations/should_fail/annfail05.hs')
-rw-r--r-- | testsuite/tests/annotations/should_fail/annfail05.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail05.hs b/testsuite/tests/annotations/should_fail/annfail05.hs new file mode 100644 index 0000000000..8657fd4ab6 --- /dev/null +++ b/testsuite/tests/annotations/should_fail/annfail05.hs @@ -0,0 +1,12 @@ +module Annfail05 where + +import Annfail05_Help +-- Testing annotating with a value that is not Typeable or Data-able + +{-# ANN module NoInstances #-} + +{-# ANN type Foo NoInstances #-} +data Foo = Bar + +{-# ANN f NoInstances #-} +f x = x
\ No newline at end of file |