ormolu-0.7.3.0: data/examples/declaration/warning/warning-single-line-out.hs
{-# DEPRECATED test, foo "This is a deprecation" #-}
{-# WARNING test "This is a warning" #-}
test :: IO ()
test = pure ()
bar = 3
{-# DEPRECATED bar "Bar is deprecated" #-}
{-# DEPRECATED baz "Baz is also deprecated" #-}
baz = 5
data Number = Number Dobule
{-# DEPRECATED Number "Use Scientific instead." #-}
head (a : _) = a
{-# WARNING in "x-partial" head "This function is partial..." #-}