diff options
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr')
-rw-r--r-- | testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr index 6e6c5c6730..010ec9c069 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr @@ -1,9 +1,19 @@ ==================== Parser ==================== -main = print (test :: Int) - where - test = 0 - test2 = 1 - test3 = 2 +main + = print (test :: Int) + where + test = 0 + test2 = 1 + test3 = 2 + +haddockA022.hs:4:5: warning: [-Winvalid-haddock] + A Haddock comment cannot appear in this position and will be ignored. + +haddockA022.hs:6:5: warning: [-Winvalid-haddock] + A Haddock comment cannot appear in this position and will be ignored. + +haddockA022.hs:10:5: warning: [-Winvalid-haddock] + A Haddock comment cannot appear in this position and will be ignored. |