aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-28 10:13:04 +0000
committersimonmar <unknown>2002-05-28 10:13:04 +0000
commitef03a1cc8bdfe2255333a0e4087c1a0bfde85956 (patch)
tree5b68443c2190a18d4ad2f57ee864195af2edf0c1 /examples
parent9d3ef8117fef546e96cabf5cd91d6dfdb167a330 (diff)
[haddock @ 2002-05-28 10:13:04 by simonmar]
Add some more test cases
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)