summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/poly-export-fail2.hs
blob: 1345ae5d9e8d0c0fc046d280f186eb22ce43fe1a (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE PatternSynonyms #-}
module Foo (A(P)) where

data A = A

data B = B

pattern P :: () => (f ~ B) => f
pattern P = B