summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/haddock/should_compile_flag_haddock/haddockA032.hs
blob: b772ec1de39b801963f93b95b4f055e5939e1e49 (plain)
1
2
3
4
5
6
7
8
module ShouldCompile where

data R a = R {
    field1 :: a -- | comment for field2
  , field2 :: a 
  , field3 :: a -- ^ comment for field3
  , {-| comment for field4 -} field4 :: a
}