summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T14380.hs
blob: aec398590dbd109eaa79f3ca3b2bfff031167d54 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE OverloadedLists #-}
{-# LANGUAGE PatternSynonyms #-}

module T14380 where

data Foo = Foo [Int]
pattern Bar :: Foo
pattern Bar = Foo []