Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
b3364629
Commit
b3364629
authored
13 years ago
by
Simon Peyton Jones
Browse files
Options
Downloads
Patches
Plain Diff
Test Trac #5424
parent
06127a28
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
testsuite/tests/gadt/T5424.hs
+13
-0
13 additions, 0 deletions
testsuite/tests/gadt/T5424.hs
testsuite/tests/gadt/T5424a.hs
+4
-0
4 additions, 0 deletions
testsuite/tests/gadt/T5424a.hs
testsuite/tests/gadt/all.T
+1
-1
1 addition, 1 deletion
testsuite/tests/gadt/all.T
with
18 additions
and
1 deletion
testsuite/tests/gadt/T5424.hs
0 → 100644
+
13
−
0
View file @
b3364629
{-# LANGUAGE GADTs #-}
{-# OPTIONS_GHC -Wall #-}
module
W
where
import
T5424a
data
D
a
where
C1
::
D
X
C2
::
D
Y
f
::
D
X
->
Int
f
C1
=
1
This diff is collapsed.
Click to expand it.
testsuite/tests/gadt/T5424a.hs
0 → 100644
+
4
−
0
View file @
b3364629
module
T5424a
where
data
X
data
Y
This diff is collapsed.
Click to expand it.
testsuite/tests/gadt/all.T
+
1
−
1
View file @
b3364629
...
...
@@ -107,4 +107,4 @@ test('gadtSyntaxFail001', if_compiler_lt('ghc', '7.1', expect_fail), compile_fai
test
('
gadtSyntaxFail002
',
if_compiler_lt
('
ghc
',
'
7.1
',
expect_fail
),
compile_fail
,
[''])
test
('
gadtSyntaxFail003
',
if_compiler_lt
('
ghc
',
'
7.1
',
expect_fail
),
compile_fail
,
[''])
test
('
T3169
',
normal
,
compile_fail
,
[''])
test
('
T5424
',
normal
,
multimod_compile
,
['
T5424
',
'
-v0 -O0
'])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment