summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs')
-rw-r--r--testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs
new file mode 100644
index 0000000000..e197a6b48f
--- /dev/null
+++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA023.hs
@@ -0,0 +1,6 @@
+module ShouldCompile where
+
+test :: (Eq a) => [a] -- ^ doc1
+ -> [a] {-^ doc2 -}
+ -> [a] -- ^ doc3
+test xs ys = xs