Ticket #4934: bad_fd.hs

File bad_fd.hs, 141 bytes (added by slyfox, 5 years ago)

bad_fd.hs - should issue an error with nonthreaded RTS, but does not

Line 
1-- a.hs
2import Control.Concurrent
3
4-- 12 is picked at random as guaranteed to be invalid FD
5main = threadWaitRead 12 >> print "yet input!"
6