summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc009.hs
blob: 6f089b86e9b69434689e98779bbfd408d348dfa9 (plain)
1
2
3
4
5
6
7
8
module HsUtils where
import GHC.Hs.Binds
import GHC.Types.SrcLoc

addPatSynSelector:: LHsBind p -> [a]
addPatSynSelector bind
  | PatSynBind _ _ <- unLoc bind
  = []