Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
1dbc8d91
Commit
1dbc8d91
authored
Jan 03, 2016
by
thomie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for #10379
parent
d935d209
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
testsuite/tests/parser/should_compile/T10379.hs
testsuite/tests/parser/should_compile/T10379.hs
+9
-0
testsuite/tests/parser/should_compile/all.T
testsuite/tests/parser/should_compile/all.T
+1
-0
No files found.
testsuite/tests/parser/should_compile/T10379.hs
0 → 100644
View file @
1dbc8d91
{-# LANGUAGE KindSignatures, GADTs, DataKinds, TypeOperators #-}
module
Foo
where
data
Foo1
::
[
*
]
->
*
where
-- ghc <= 7.10 reported (before "Add kind equalities to GHC"):
--
-- T10379.hs:9:16: parse error on input ‘]’
data
Foo2
::
(
[]
*
)
->
*
where
testsuite/tests/parser/should_compile/all.T
View file @
1dbc8d91
...
...
@@ -103,4 +103,5 @@ test('T9723b', normal, compile, [''])
test
('
T10188
',
normal
,
compile
,
[''])
test
('
VtaParse
',
normal
,
compile
,
[''])
test
('
T10196
',
normal
,
compile
,
[''])
test
('
T10379
',
normal
,
compile
,
[''])
test
('
T10582
',
expect_broken
(
10582
),
compile
,
[''])
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