summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr036.hs
blob: 99bdeaf917e3d1e47d4c185d35496868fe05521c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Deprecation
{-# Deprecated ["This is a module \"deprecation\"",
             "multi-line",
             "with unicode: Frère" ] #-}
   ( foo )
 where

{-# DEPRECATEd   foo
         ["This is a multi-line",
          "deprecation message",
          "for foo"] #-}
foo :: Int
foo = 4

{-# DEPRECATED withBool        "The C2HS module will soon stop providing unnecessary\nutility functions. Please use standard FFI library functions instead." #-}