aboutsummaryrefslogtreecommitdiff
path: root/html-test/tests/NoLayout.hs
blob: 19b38b1da657c475e94edd3758761ac86cca1136 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
-- Haddock comments are parsed as separate declarations so we
-- need to insert a ';' when using them with explicit layout.
-- This should probably be changed.

module NoLayout where {
  -- | the function 'g'
  ;
  g :: Int;
  g = undefined
 }