summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr003.hs
blob: 9b72c50b05bd624fb4f17c7ce5acdb66a50773bf (plain)
1
2
3
4
5
6
7
8
9
10
11
module Ppr003 where

foo x =
  case x of
   { ;;; -- leading
     0 -> 'a';  -- case 0
     1 -> 'b'   -- case 1
   ; 2 -> 'c' ; -- case 2
   ; 3 -> 'd'   -- case 3
          ;;;   -- case 4
   }