Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GHC Testsuite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
GHC Testsuite
Commits
ff6de1cb
Commit
ff6de1cb
authored
14 years ago
by
batterseapower
Browse files
Options
Downloads
Patches
Plain Diff
Update rnfail023 test to test the behaviour of #5084
parent
78362e79
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/ghc-regress/rename/should_fail/rnfail023.hs
+10
-0
10 additions, 0 deletions
tests/ghc-regress/rename/should_fail/rnfail023.hs
tests/ghc-regress/rename/should_fail/rnfail023.stderr
+7
-0
7 additions, 0 deletions
tests/ghc-regress/rename/should_fail/rnfail023.stderr
with
17 additions
and
0 deletions
tests/ghc-regress/rename/should_fail/rnfail023.hs
+
10
−
0
View file @
ff6de1cb
...
...
@@ -13,3 +13,13 @@ h x = x
where
g
::
Int
->
Int
-- Bogus
-- Superclass method pragma test
class
Foo
a
where
bar
::
a
->
a
{-# INLINE bar #-}
-- Instance test
instance
Foo
Int
where
bar
=
(
+
1
)
{-# INLINE not_bar #-}
This diff is collapsed.
Click to expand it.
tests/ghc-regress/rename/should_fail/rnfail023.stderr
+
7
−
0
View file @
ff6de1cb
...
...
@@ -7,3 +7,10 @@ rnfail023.hs:8:12:
rnfail023.hs:14:7:
The type signature for `g' lacks an accompanying binding
rnfail023.hs:19:16:
The INLINE pragma for `bar' lacks an accompanying binding
(The INLINE pragma must be given where `bar' is declared)
rnfail023.hs:24:16:
The INLINE pragma for `not_bar' lacks an accompanying binding
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