1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE PatternSynonyms, MagicHash #-} module ShouldFail where import GHC.Base data Foo = MkFoo Int# Int# pattern P x = MkFoo 0# x f x = let P arg = x in arg