Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
2cb2c7bf
Commit
2cb2c7bf
authored
Nov 19, 2007
by
simonpj
Browse files
Test for Trac #1806
parent
06d253c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
2cb2c7bf
...
...
@@ -175,3 +175,4 @@ test('tcfail185', normal, compile_fail, [''])
test
('
tcfail186
',
extra_clean
(['
Tcfail186_Help.hi
',
'
Tcfail186_Help.o
']),
multimod_compile_fail
,
['
tcfail186
',
'
-v0
'])
test
('
tcfail187
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail187.hs
0 → 100644
View file @
2cb2c7bf
-- Trac #1806
module
ShouldFail
where
data
Foo
=
(
:::
)
foo
(
x
:::
y
)
=
()
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail187.stderr
0 → 100644
View file @
2cb2c7bf
tcfail187.hs:7:7:
Constructor `:::' should have no arguments, but has been given 2
In the pattern: x ::: y
In the definition of `foo': foo (x ::: y) = ()
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