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
bb1ba4a1
Commit
bb1ba4a1
authored
May 18, 2009
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test for
#3236
parent
877f9c75
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
testsuite/tests/ghc-regress/rts/3236.c
testsuite/tests/ghc-regress/rts/3236.c
+8
-0
testsuite/tests/ghc-regress/rts/3236.stderr
testsuite/tests/ghc-regress/rts/3236.stderr
+1
-0
testsuite/tests/ghc-regress/rts/all.T
testsuite/tests/ghc-regress/rts/all.T
+2
-0
No files found.
testsuite/tests/ghc-regress/rts/3236.c
0 → 100644
View file @
bb1ba4a1
#include "Rts.h"
#include "RtsFlags.h"
int
main
(
int
argc
,
char
*
argv
[])
{
// should fail: RTS is not initialised
rts_lock
();
}
testsuite/tests/ghc-regress/rts/3236.stderr
0 → 100644
View file @
bb1ba4a1
newBoundTask: RTS is not initialised; call hs_init() first
testsuite/tests/ghc-regress/rts/all.T
View file @
bb1ba4a1
...
...
@@ -46,3 +46,5 @@ test('2783', [ omit_ways(['ghci']), exit_code(1) ], compile_and_run, [''])
test
('
testwsdeque
',
[
if_compiler_lt
('
ghc
',
'
6.11
',
skip
),
c_src
,
only_ways
(['
threaded1
',
'
threaded2
'])],
compile_and_run
,
['
-I../../../../rts/parallel
'])
test
('
3236
',
[
c_src
,
only_ways
(['
normal
','
threaded1
']),
exit_code
(
1
)],
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