summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T15692.hs
blob: 68c4aea3857257d35eed307df582fcbea63e5db9 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE GADTs #-}
{-# LANGUAGE PatternSynonyms #-}
{-# OPTIONS_GHC -fdefer-type-errors #-}
module T15692 where

data F x where
  FS :: F (f a) -> F a

pattern FS' = FS False