summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/haddockC031.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/haddockC031.hs')
-rw-r--r--tests/examples/ghc86/haddockC031.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examples/ghc86/haddockC031.hs b/tests/examples/ghc86/haddockC031.hs
new file mode 100644
index 0000000..a267862
--- /dev/null
+++ b/tests/examples/ghc86/haddockC031.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE RankNTypes #-}
+module ShouldCompile where
+
+data A
+ = A
+ | {-| comment for B -} forall a. B a a
+ | forall a. Num a => C a {-^ comment for C -}
+