aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug26.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/Bug26.hs')
-rw-r--r--html-test/src/Bug26.hs29
1 files changed, 29 insertions, 0 deletions
diff --git a/html-test/src/Bug26.hs b/html-test/src/Bug26.hs
new file mode 100644
index 00000000..b0483f03
--- /dev/null
+++ b/html-test/src/Bug26.hs
@@ -0,0 +1,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 = ()