Skip to content
Snippets Groups Projects
Commit 40705fbe authored by Gergő Érdi's avatar Gergő Érdi Committed by Austin Seipp
Browse files

Add test suite for #8757

(cherry picked from commit 719108f8)
parent 4c5b195b
No related branches found
No related tags found
No related merge requests found
{-# LANGUAGE PatternSynonyms #-}
module ShouldFail where
varWithLocalPatSyn x = case x of
P -> ()
where
pattern P = ()
local.hs:7:5:
Illegal pattern synonym declaration
Pattern synonym declarations are only valid in the top-level scope
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment