Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
b1391024
Commit
b1391024
authored
Sep 20, 2013
by
Simon Peyton Jones
Browse files
test Trac
#7800
parent
fd4e4ab3
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/deriving/should_fail/T7800.hs
0 → 100644
View file @
b1391024
{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable #-}
module
T7800
where
import
T7800a
import
Data.Typeable
deriving
instance
Typeable
A
testsuite/tests/deriving/should_fail/T7800.stderr
0 → 100644
View file @
b1391024
[1 of 2] Compiling T7800a ( T7800a.hs, T7800a.o )
[2 of 2] Compiling T7800 ( T7800.hs, T7800.o )
T7800.hs:7:1:
To make a Typeable instance of poly-kinded ‛A’, use XPolyKinds
In the stand-alone deriving instance for ‛Typeable A’
testsuite/tests/deriving/should_fail/T7800a.hs
0 → 100644
View file @
b1391024
{-# LANGUAGE PolyKinds #-}
module
T7800a
where
data
A
a
\ No newline at end of file
testsuite/tests/deriving/should_fail/all.T
View file @
b1391024
...
...
@@ -46,3 +46,4 @@ test('T1496', normal, compile_fail, [''])
test
('
T4846
',
normal
,
compile_fail
,
[''])
test
('
T7148
',
normal
,
compile_fail
,
[''])
test
('
T7148a
',
normal
,
compile_fail
,
[''])
test
('
T7800
',
normal
,
multimod_compile_fail
,
['
T7800
',''])
Write
Preview
Supports
Markdown
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