aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug26.hs
blob: 8b9c4162c11739a514b74cf1c3164348f0ae35ae (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
30
{-# LANGUAGE Haskell2010 #-}
-- | 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 = ()