summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs')
-rw-r--r--testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs
new file mode 100644
index 0000000000..82c3799d1f
--- /dev/null
+++ b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockC030.hs
@@ -0,0 +1,10 @@
+module ShouldCompile where
+
+data A
+ -- | A comment that documents the first constructor
+ = A
+ -- | comment for B
+ | {-^ comment for A -} B
+ -- | comment for C
+ | C
+ | D