aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/NoLayout.hs
blob: e07470a3228f16afd8808efb6606fa5d300836a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE Haskell2010 #-}

-- 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
 }