Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
719108f8
Commit
719108f8
authored
Feb 09, 2014
by
Gergő Érdi
Browse files
Add test suite for #8757
parent
e0a55415
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/patsyn/should_fail/local.hs
0 → 100644
View file @
719108f8
{-# LANGUAGE PatternSynonyms #-}
module
ShouldFail
where
varWithLocalPatSyn
x
=
case
x
of
P
->
()
where
pattern
P
=
()
testsuite/tests/patsyn/should_fail/local.stderr
0 → 100644
View file @
719108f8
local.hs:7:5:
Illegal pattern synonym declaration
Pattern synonym declarations are only valid in the top-level scope
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment