Skip to content
GitLab
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
27e2c656
Commit
27e2c656
authored
Apr 21, 2011
by
Simon Peyton Jones
Browse files
Test Trac
#5084
parent
81525f94
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/T5084.hs
0 → 100644
View file @
27e2c656
module
T5084
where
-- Superclass method pragma test (fail)
class
Foo
a
where
bar
::
a
->
a
{-# INLINE bar #-}
-- Instance test (ok)
instance
Foo
Int
where
bar
=
(
+
1
)
{-# INLINE bar #-}
testsuite/tests/ghc-regress/typecheck/should_fail/T5084.stderr
0 → 100644
View file @
27e2c656
T5084.hs:6:5:
The INLINE pragma for default method `bar' lacks an accompanying binding
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
27e2c656
...
...
@@ -227,3 +227,4 @@ test('T2846b', normal, compile_fail, [''])
test
('
FrozenErrorTests
',
normal
,
compile_fail
,
[''])
test
('
SCLoop
',
normal
,
compile_fail
,
[''])
test
('
T4875
',
normal
,
compile_fail
,
[''])
test
('
T5084
',
normal
,
compile_fail
,
[''])
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment