blob: c2f746f00acdc243145b07dbe426a08d7978f63a (
plain) (
tree)
|
|
{-# LANGUAGE Haskell2010 #-}
{-# 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
|