Commit bb1ba4a1 authored by Simon Marlow's avatar Simon Marlow

add test for #3236

parent 877f9c75
#include "Rts.h"
#include "RtsFlags.h"
int main (int argc, char *argv[])
{
// should fail: RTS is not initialised
rts_lock();
}
newBoundTask: RTS is not initialised; call hs_init() first
......@@ -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, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment