Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7374d8bf
Commit
7374d8bf
authored
Aug 29, 2001
by
simonmar
Browse files
[project @ 2001-08-29 08:42:15 by simonmar]
Add irrefutable pattern test from the Hugs bugs list.
parent
b082afe1
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deSugar/should_run/all.T
View file @
7374d8bf
...
...
@@ -12,3 +12,4 @@ test "dsrun004" { vtr("", "", "") }
test
"
dsrun005
"
{
vtr
("",
"",
"
1
")
}
test
"
dsrun006
"
{
vtr
("",
"",
"")
}
test
"
dsrun007
"
{
vtr
("",
"",
"
1
")
}
test
"
dsrun008
"
{
vtr
("",
"",
"
1
")
}
testsuite/tests/ghc-regress/deSugar/should_run/dsrun008.hs
0 → 100644
View file @
7374d8bf
-- !!! Double irrefutable pattern (bug in Hugs98, 29/8/2001)
main
=
print
(
case
(
1
,
2
)
of
~
(
~
(
2
,
x
))
->
x
)
testsuite/tests/ghc-regress/deSugar/should_run/dsrun008.stderr
0 → 100644
View file @
7374d8bf
Fail: dsrun008.hs:2: Irrefutable pattern failed for pattern (2, x)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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