aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug26.hs
blob: b0483f03ff364c9b1c3b24df029ae07936e228f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- | This module tests the ‘@since …’ annotation.
--
-- @since 1.2.3
module Bug26 where

-- | Foo
--
-- @since 2.10.7
--
-- @since 2.10.8
f :: ()
f = ()

-- | Bar
g :: ()
g = ()

-- | Class
--
-- @since 1.0
class C a where
  -- | @since 1.2.3
  c_f :: a

-- | instance for ()
--
-- @since 0.7.8
instance C () where
  c_f = ()