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
2d44ece0
Commit
2d44ece0
authored
Oct 27, 2012
by
Simon Peyton Jones
Browse files
Test Trac
#7336
parent
8c3dc562
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/rename/should_compile/T7336.hs
0 → 100644
View file @
2d44ece0
module
T7336
(
U
,
T
)
where
data
U
=
MkU
deriving
Show
-- Want to report MkU as unused
data
T
=
MkT
deriving
Read
-- But MkT is not unused; we might
-- parse a string to generate it
testsuite/tests/rename/should_compile/T7336.stderr
0 → 100644
View file @
2d44ece0
T7336.hs:3:10: Warning:
Defined but not used: data constructor `MkU'
testsuite/tests/rename/should_compile/all.T
View file @
2d44ece0
...
...
@@ -201,3 +201,4 @@ test('dodgy',
multimod_compile
,
['
dodgy
',
'
-v0
'])
test
('
T7167
',
normal
,
compile
,
[''])
test
('
T7336
',
normal
,
compile
,
['
-Wall
'])
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