aboutsummaryrefslogtreecommitdiff
path: root/tests/pre-2.0-tests/NoLayout.hs
blob: ac8e58bb6ba9907a54de7bb964f2683c4f78fa2f (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 class 'C'
  ;
  g :: Int;
  g = undefined
 }