summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/T15753b.hs
blob: cb629c3857f4dd921d6c06aa8dc52de47361f7f9 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE PatternSynonyms #-}
module Bug where

{-# COMPLETE Id #-}
pattern Id :: ()
pattern Id = ()

bug :: ()
bug | Id <- id () = ()