summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T14114.hs
blob: b1fb8e65755c7ce087c5dafa4267cd7645049d16 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE PatternSynonyms #-}
module T14114 where

pattern Foo1 a <- (a,a)
pattern Foo2 a  = (a,a)
pattern Foo3 a <- (a,a) where
  Foo3 a = (a,a)