summaryrefslogtreecommitdiff
path: root/testsuite/tests/showIface/DocsInHiFile.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/showIface/DocsInHiFile.hs')
-rw-r--r--testsuite/tests/showIface/DocsInHiFile.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/showIface/DocsInHiFile.hs b/testsuite/tests/showIface/DocsInHiFile.hs
index 26156722ac..e753eb5e42 100644
--- a/testsuite/tests/showIface/DocsInHiFile.hs
+++ b/testsuite/tests/showIface/DocsInHiFile.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE TypeFamilies #-}
{-| `elem`, 'print',
`Unknown',
'<>', ':=:', 'Bool'
@@ -35,3 +36,8 @@ class P f where
-- | Another datatype...
data D'
-- ^ ...with two docstrings.
+
+-- | A type family
+type family F a
+-- | A type family instance
+type instance F Int = Bool