Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5b08752e
Commit
5b08752e
authored
May 30, 2013
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test for Trac
#7931
parent
71178ab7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
testsuite/tests/deriving/should_run/T7931.hs
testsuite/tests/deriving/should_run/T7931.hs
+4
-1
testsuite/tests/deriving/should_run/T7931.stderr
testsuite/tests/deriving/should_run/T7931.stderr
+0
-1
testsuite/tests/deriving/should_run/T7931.stdout
testsuite/tests/deriving/should_run/T7931.stdout
+1
-0
testsuite/tests/deriving/should_run/all.T
testsuite/tests/deriving/should_run/all.T
+1
-1
No files found.
testsuite/tests/deriving/should_run/T7931.hs
View file @
5b08752e
...
...
@@ -3,5 +3,8 @@ module Main where
data
A
deriving
instance
Read
A
deriving
instance
Show
A
main
=
seq
(
read
""
::
A
)
(
return
()
)
main
=
print
(
read
"[]"
::
[
A
])
-- Should successfully read the empty list
testsuite/tests/deriving/should_run/T7931.stderr
deleted
100644 → 0
View file @
71178ab7
T7931: Derived Read on empty data type
testsuite/tests/deriving/should_run/T7931.stdout
0 → 100644
View file @
5b08752e
[]
testsuite/tests/deriving/should_run/all.T
View file @
5b08752e
...
...
@@ -34,5 +34,5 @@ test('T4528a', normal, compile_and_run, [''])
test
('
T5041
',
normal
,
compile_and_run
,
[''])
test
('
T5628
',
exit_code
(
1
),
compile_and_run
,
[''])
test
('
T5712
',
normal
,
compile_and_run
,
[''])
test
('
T7931
',
exit_code
(
1
)
,
compile_and_run
,
[''])
test
('
T7931
',
normal
,
compile_and_run
,
[''])
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