summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs')
-rw-r--r--testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs
new file mode 100644
index 0000000000..2d4b55f659
--- /dev/null
+++ b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC031.hs
@@ -0,0 +1,6 @@
+module ShouldCompile where
+
+data A
+ = A
+ | {-| comment for B -} forall a. B a a
+ | forall a. Num a => C a {-^ comment for C -}