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
259533d7
Commit
259533d7
authored
Oct 25, 2008
by
simonpj
Browse files
Test Trac #2701
parent
c3c42c3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_fail/T2701.hs
0 → 100644
View file @
259533d7
{-# LANGUAGE MagicHash, DeriveDataTypeable #-}
module
T2700
where
import
GHC.Prim
import
Data.Data
import
Data.Typeable
data
Foo
=
MkFoo
Int
#
deriving
(
Typeable
,
Data
)
testsuite/tests/ghc-regress/deriving/should_fail/T2701.stderr
0 → 100644
View file @
259533d7
T2701.hs:10:31:
Can't make a derived instance of `Data Foo'
(Constructor `MkFoo' has arguments of unlifted type)
In the data type declaration for `Foo'
testsuite/tests/ghc-regress/deriving/should_fail/all.T
View file @
259533d7
...
...
@@ -20,3 +20,4 @@ test('drvfail016',
['
$MAKE --no-print-directory -s drvfail016
'])
test
('
T2394
',
normal
,
compile_fail
,
[''])
test
('
T2604
',
normal
,
compile_fail
,
[''])
test
('
T2701
',
normal
,
compile_fail
,
[''])
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