aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Test.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Test.hs b/examples/Test.hs
index 29d9c528..c2ff45f7 100644
--- a/examples/Test.hs
+++ b/examples/Test.hs
@@ -9,6 +9,7 @@
-- Portability : portable
--
-- This module illustrates & tests most of the features of Haddock.
+-- Testing references from the description: 'T', 'f', 'g', 'Visible.visible'.
--
-----------------------------------------------------------------------------
@@ -130,6 +131,8 @@ class D a where
e :: (a,a)
-- ^ This is a class declaration with no separate docs for the methods
+instance D Int
+
class E a where
ee :: Int
-- ^ This is a class declaration with no methods (or no methods exported)