diff options
Diffstat (limited to 'tests/html-tests/tests/PruneWithWarning.hs')
-rw-r--r-- | tests/html-tests/tests/PruneWithWarning.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/html-tests/tests/PruneWithWarning.hs b/tests/html-tests/tests/PruneWithWarning.hs new file mode 100644 index 00000000..fefe81f5 --- /dev/null +++ b/tests/html-tests/tests/PruneWithWarning.hs @@ -0,0 +1,9 @@ +{-# OPTIONS_HADDOCK prune #-} +module PruneWithWarning (foo, bar) where + +foo :: Int +foo = 23 +{-# DEPRECATED foo "use bar instead" #-} + +bar :: Int +bar = 42 |