summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr')
-rw-r--r--testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr
new file mode 100644
index 0000000000..6a7e12e763
--- /dev/null
+++ b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr
@@ -0,0 +1,11 @@
+
+==================== Parser ====================
+module T8944 where
+import Data.Maybe ()
+import Data.Functor ()
+data F = F () " Comment for the first argument" ()
+
+
+
+T8944.hs:4:1: warning: [-Winvalid-haddock]
+ A Haddock comment cannot appear in this position and will be ignored.