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

pattern Single x = [(x :: Int)]

f :: [Bool] -> Bool
f (Single x) = x