Skip to content
Snippets Groups Projects
Commit 5692f5b8 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Fix #7399.


Signed-off-by: default avatarEdward Z. Yang <ezyang@mit.edu>
parent e7128031
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,10 @@ main = do test1
putStrLn "I'm happy."
test1 = do
-- Force SIGFPE exceptions to not be ignored. Under some
-- circumstances this test will be run with SIGFPE
-- ignored, see #7399
installHandler sigFPE Default Nothing
forkProcess $ raiseSignal floatingPointException
Just (pid, tc) <- getAnyProcessStatus True False
case tc of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment