aboutsummaryrefslogtreecommitdiff
path: root/html-test/tests/HiddenInstancesA.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/tests/HiddenInstancesA.hs')
-rw-r--r--html-test/tests/HiddenInstancesA.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/html-test/tests/HiddenInstancesA.hs b/html-test/tests/HiddenInstancesA.hs
new file mode 100644
index 00000000..f1775208
--- /dev/null
+++ b/html-test/tests/HiddenInstancesA.hs
@@ -0,0 +1,17 @@
+{-# OPTIONS_HADDOCK hide #-}
+module HiddenInstancesA where
+
+-- | Should be visible
+class Foo a
+
+-- | Should be visible
+data Bar
+
+-- | Should be visible
+instance Foo Bar
+
+-- | Should *not* be visible
+data Baz
+
+-- | Should *not* be visible
+instance Foo Baz