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
15bb7799
Commit
15bb7799
authored
Dec 30, 2008
by
simonpj
Browse files
Test for empty type indices (Trac
#2888
)
parent
ebccce19
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_fail/T2888.hs
0 → 100644
View file @
15bb7799
{-# LANGUAGE TypeFamilies #-}
-- Test for no type indices
module
T2888
where
class
C
w
where
data
D
::
*
->
*
testsuite/tests/ghc-regress/indexed-types/should_fail/T2888.stderr
0 → 100644
View file @
15bb7799
T2888.hs:7:2:
Type family constructor `D' must have at least one type index parameter
In the class declaration for `C'
testsuite/tests/ghc-regress/indexed-types/should_fail/all.T
View file @
15bb7799
...
...
@@ -47,3 +47,4 @@ test('T2157', normal, compile_fail, [''])
test
('
T2203a
',
normal
,
compile_fail
,
[''])
test
('
T2627b
',
normal
,
compile_fail
,
[''])
test
('
T2693
',
normal
,
compile_fail
,
[''])
test
('
T2888
',
normal
,
compile_fail
,
[''])
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