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
e54ec3bc
Commit
e54ec3bc
authored
Sep 30, 2011
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for
#5430
parent
0cbfe0b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
testsuite/tests/lib/Time/T5430.hs
testsuite/tests/lib/Time/T5430.hs
+8
-0
testsuite/tests/lib/Time/T5430.stdout
testsuite/tests/lib/Time/T5430.stdout
+1
-0
testsuite/tests/lib/Time/all.T
testsuite/tests/lib/Time/all.T
+1
-0
No files found.
testsuite/tests/lib/Time/T5430.hs
0 → 100644
View file @
e54ec3bc
import
System.Locale
import
System.Time
main
::
IO
()
main
=
do
let
clockTime
=
TOD
0
0
-- 00:00:00 on 1 Jan 1970
calTime
<-
toCalendarTime
clockTime
putStrLn
$
formatCalendarTime
defaultTimeLocale
"%j"
calTime
testsuite/tests/lib/Time/T5430.stdout
0 → 100644
View file @
e54ec3bc
001
testsuite/tests/lib/Time/all.T
View file @
e54ec3bc
test
('
time002
',
normal
,
compile_and_run
,
[''])
test
('
time003
',
normal
,
compile_and_run
,
[''])
test
('
time004
',
normal
,
compile_and_run
,
[''])
test
('
T5430
',
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