aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/PruneWithWarning.hs
blob: bfa55ea2e71d796e1ca5cb2a725f9257df230117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# OPTIONS_HADDOCK prune #-}
-- |
-- What is tested here:
--
-- * If a binding has a deprecation message but no documentation, it is pruned
--   when @OPTIONS_HADDOCK prune@ is used.
--
module PruneWithWarning (foo, bar) where

foo :: Int
foo = 23
{-# DEPRECATED foo "use bar instead" #-}

bar :: Int
bar = 42