Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,326
Issues
4,326
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
390
Merge Requests
390
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
51a1962a
Commit
51a1962a
authored
Mar 08, 2013
by
jpm@cs.ox.ac.uk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for T7704
parent
5c2f7940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
testsuite/tests/deriving/should_compile/T7704.hs
testsuite/tests/deriving/should_compile/T7704.hs
+27
-0
testsuite/tests/deriving/should_compile/all.T
testsuite/tests/deriving/should_compile/all.T
+1
-0
No files found.
testsuite/tests/deriving/should_compile/T7704.hs
0 → 100644
View file @
51a1962a
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE StandaloneDeriving #-}
module
T7704
where
import
Data.Typeable
data
A1
=
A1
deriving
Typeable
data
A2
=
A2
deriving
instance
Typeable
A2
data
B1
a
=
B1
deriving
Typeable
data
B2
a
=
B2
deriving
instance
Typeable
B2
data
C1
a
=
C1
deriving
Typeable
data
C2
a
=
C2
deriving
instance
Typeable
C2
data
D1
f
=
D1
(
f
(
D1
f
))
deriving
Typeable
data
D2
f
=
D2
(
f
(
D2
f
))
deriving
instance
Typeable
D2
data
E1
(
a
::
k
)
f
=
E1
(
f
Int
)
deriving
Typeable
data
E2
(
a
::
k
)
f
=
E2
(
f
Int
)
deriving
instance
Typeable
E2
testsuite/tests/deriving/should_compile/all.T
View file @
51a1962a
...
...
@@ -36,4 +36,5 @@ test('T1133',
extra_clean
(['
T1133.o-boot
',
'
T1133.hi-boot
']),
run_command
,
['
$MAKE --no-print-directory -s T1133
'])
test
('
T7704
',
normal
,
compile
,
[''])
test
('
T7710
',
normal
,
compile
,
[''])
\ No newline at end of file
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